Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/gnome-hdaps-applet/files: gnome-hdaps-applet-20081204-include-and-unused.patch
Date: Tue, 24 Aug 2010 15:14:17
Message-Id: 20100824151412.989D120051@flycatcher.gentoo.org
1 xmw 10/08/24 15:14:12
2
3 Added:
4 gnome-hdaps-applet-20081204-include-and-unused.patch
5 Log:
6 Initial import for gnome-hdaps-applet
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 gnome-extra/gnome-hdaps-applet/files/gnome-hdaps-applet-20081204-include-and-unused.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-hdaps-applet/files/gnome-hdaps-applet-20081204-include-and-unused.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-hdaps-applet/files/gnome-hdaps-applet-20081204-include-and-unused.patch?rev=1.1&content-type=text/plain
14
15 Index: gnome-hdaps-applet-20081204-include-and-unused.patch
16 ===================================================================
17 --- gnome-hdaps-applet.c 2008-12-04 22:58:58.000000000 +0100
18 +++ gnome-hdaps-applet.c 2010-04-04 02:16:48.000000000 +0200
19 @@ -21,6 +21,8 @@
20 #include <string.h>
21 #include <panel-applet.h>
22 #include <gtk/gtk.h>
23 +#include <unistd.h>
24 +#include <stdlib.h>
25
26 #define BUF_LEN 32
27 #define SYSFS_PROTECT_FILE_HDA "/sys/block/hda/queue/protect"
28 @@ -50,8 +52,6 @@
29 GtkWidget *image = gdata;
30 GtkWidget *applet;
31 GtkTooltipsData *tooltips_data;
32 - static int timerval = 0;
33 - gchar *text_label;
34 int status;
35
36 applet = image->parent;