aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator/app-indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-14 09:52:51 -0600
committerTed Gould <ted@gould.cx>2010-01-14 09:52:51 -0600
commit544ac3aa1cae817a4ec66fa4a880ba283298cabf (patch)
tree4ea9e610a8d89cdff1c3056c943bf8cd36d64f6c /src/libappindicator/app-indicator.c
parentc303c0c49f7ab1b0747e5cb12111f8b3ac4cd46e (diff)
downloadayatana-indicator-application-544ac3aa1cae817a4ec66fa4a880ba283298cabf.tar.gz
ayatana-indicator-application-544ac3aa1cae817a4ec66fa4a880ba283298cabf.tar.bz2
ayatana-indicator-application-544ac3aa1cae817a4ec66fa4a880ba283298cabf.zip
Using better naming for 'do_it_now' parameter.
Diffstat (limited to 'src/libappindicator/app-indicator.c')
-rw-r--r--src/libappindicator/app-indicator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index e1b332a..40c7c3e 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -133,7 +133,7 @@ static void app_indicator_get_property (GObject * object, guint prop_id, GValue
/* Other stuff */
static void check_connect (AppIndicator * self);
static void register_service_cb (DBusGProxy * proxy, GError * error, gpointer data);
-static void start_fallback_timer (AppIndicator * self, gboolean do_it_now);
+static void start_fallback_timer (AppIndicator * self, gboolean disable_timeout);
static gboolean fallback_timer_expire (gpointer data);
static GtkStatusIcon * fallback (AppIndicator * self);
static void status_icon_status_wrapper (AppIndicator * self, const gchar * status, gpointer data);
@@ -685,7 +685,7 @@ dbus_owner_change (DBusGProxy * proxy, const gchar * name, const gchar * prev, c
there is a change. Also, provides an override mode for cases
where it's unlikely that a timer will help anything. */
static void
-start_fallback_timer (AppIndicator * self, gboolean do_it_now)
+start_fallback_timer (AppIndicator * self, gboolean disable_timeout)
{
g_return_if_fail(IS_APP_INDICATOR(self));
AppIndicatorPrivate * priv = APP_INDICATOR(self)->priv;
@@ -708,7 +708,7 @@ start_fallback_timer (AppIndicator * self, gboolean do_it_now)
G_CALLBACK(dbus_owner_change), self, NULL);
}
- if (do_it_now) {
+ if (disable_timeout) {
fallback_timer_expire(self);
} else {
priv->fallback_timer = g_timeout_add(DEFAULT_FALLBACK_TIMER, fallback_timer_expire, self);