Fix warnings with gcc 4.6
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen
13 years ago
35 | 35 |
/* the session we are servicing */
|
36 | 36 |
static PolkitSubject *session = NULL;
|
37 | 37 |
|
|
38 |
static GDBusConnection *session_bus_connection = NULL;
|
|
39 |
|
38 | 40 |
int
|
39 | 41 |
main (int argc, char **argv)
|
40 | 42 |
{
|
|
42 | 44 |
GMainLoop *loop;
|
43 | 45 |
PolkitAgentListener *listener;
|
44 | 46 |
GError *error;
|
45 | |
GDBusConnection *session_bus_connection;
|
46 | 47 |
|
47 | 48 |
g_type_init ();
|
48 | 49 |
gtk_init (&argc, &argv);
|
67 | 67 |
static void
|
68 | 68 |
polkit_gnome_listener_finalize (GObject *object)
|
69 | 69 |
{
|
70 | |
PolkitGnomeListener *listener;
|
71 | |
|
72 | |
listener = POLKIT_GNOME_LISTENER (object);
|
73 | |
|
74 | 70 |
if (G_OBJECT_CLASS (polkit_gnome_listener_parent_class)->finalize != NULL)
|
75 | 71 |
G_OBJECT_CLASS (polkit_gnome_listener_parent_class)->finalize (object);
|
76 | 72 |
}
|