static void on_name_lost (GDBusConnection *connection, const gchar *name, gpointer user_data) { g_debug ("Name lost"); unref_skeleton_in_timeout (); }
static gboolean idle_timeout_cb (gpointer user_data) { if (name_owner_id) { g_debug ("Idle - unowning name"); unref_skeleton_in_timeout (); } return G_SOURCE_REMOVE; }
static gboolean idle_timeout_cb (gpointer user_data) { if (name_owner_id && g_hash_table_size (client_pid_data_hash) == 0) { g_debug ("Idle - unowning name"); unref_skeleton_in_timeout (); } idle_timeout_id = 0; return G_SOURCE_REMOVE; }
static void binary_file_changed_cb (GFileMonitor *file_monitor, GFile *file, GFile *other_file, GFileMonitorEvent event_type, gpointer data) { static gboolean got_it = FALSE; if (!got_it) { g_debug ("binary file changed"); unref_skeleton_in_timeout (); } got_it = TRUE; }