| 301 g_clear_object(&service); |
301 g_clear_object(&service); |
| 302 } |
302 } |
| 303 } |
303 } |
| 304 |
304 |
| 305 static void |
305 static void |
| 306 list_row_notify_cb(GObject *obj, GParamSpec *pspec, gpointer data) { |
306 list_row_notify_cb(GObject *obj, G_GNUC_UNUSED GParamSpec *pspec, |
| |
307 G_GNUC_UNUSED gpointer data) |
| |
308 { |
| 307 GtkTreeListRow *row = NULL; |
309 GtkTreeListRow *row = NULL; |
| 308 |
310 |
| 309 row = gtk_tree_expander_get_list_row(GTK_TREE_EXPANDER(obj)); |
311 row = gtk_tree_expander_get_list_row(GTK_TREE_EXPANDER(obj)); |
| 310 if(GTK_IS_TREE_LIST_ROW(row)) { |
312 if(GTK_IS_TREE_LIST_ROW(row)) { |
| 311 g_signal_connect(row, "notify::expanded", G_CALLBACK(row_expanded_cb), |
313 g_signal_connect(row, "notify::expanded", G_CALLBACK(row_expanded_cb), |