Mercurial > projects > pk-update-icon
comparison pkui-backend.c @ 39:f6edbee6441f
Stylistic fixes
author | Guido Berhoerster <gber@opensuse.org> |
---|---|
date | Fri, 07 Feb 2014 21:56:46 +0100 |
parents | f549b75c3c22 |
children | a29fbf0a7f6c |
comparison
equal
deleted
inserted
replaced
38:db09b66c3853 | 39:f6edbee6441f |
---|---|
26 #define PKUI_BACKEND_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), \ | 26 #define PKUI_BACKEND_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), \ |
27 PKUI_TYPE_BACKEND, PkuiBackendPrivate)) | 27 PKUI_TYPE_BACKEND, PkuiBackendPrivate)) |
28 | 28 |
29 struct _PkuiBackendPrivate | 29 struct _PkuiBackendPrivate |
30 { | 30 { |
31 PkuiBackend *backend; | 31 PkuiBackend *backend; |
32 PkClient *pk_client; | 32 PkClient *pk_client; |
33 guint periodic_check_id; | 33 guint periodic_check_id; |
34 guint updates_normal; | 34 guint updates_normal; |
35 guint updates_important; | 35 guint updates_important; |
36 guint previous_updates_normal; | 36 guint previous_updates_normal; |
37 guint previous_updates_important; | 37 guint previous_updates_important; |
38 guint startup_delay; | 38 guint startup_delay; |
39 guint check_interval; | 39 guint check_interval; |
40 gint64 last_check; | 40 gint64 last_check; |
41 gboolean inhibit_check; | 41 gboolean inhibit_check; |
42 }; | 42 }; |
43 | 43 |
44 enum | 44 enum |
45 { | 45 { |
46 PROP_0, | 46 PROP_0, |
59 LAST_SIGNAL | 59 LAST_SIGNAL |
60 }; | 60 }; |
61 | 61 |
62 static guint pkui_backend_signals[LAST_SIGNAL] = { 0 }; | 62 static guint pkui_backend_signals[LAST_SIGNAL] = { 0 }; |
63 | 63 |
64 static gboolean periodic_check(gpointer data); | 64 static gboolean periodic_check(gpointer data); |
65 | 65 |
66 static void | 66 static void |
67 pkui_backend_set_property(GObject *object, guint property_id, | 67 pkui_backend_set_property(GObject *object, guint property_id, |
68 const GValue *value, GParamSpec *pspec) | 68 const GValue *value, GParamSpec *pspec) |
69 { | 69 { |