static void hildon_app_menu_finalize (GObject *object) { HildonAppMenuPrivate *priv = HILDON_APP_MENU_GET_PRIVATE(object); if (priv->find_intruder_idle_id) { g_source_remove (priv->find_intruder_idle_id); priv->find_intruder_idle_id = 0; } if (priv->hide_idle_id) { g_source_remove (priv->hide_idle_id); priv->hide_idle_id = 0; } if (priv->parent_window) { g_signal_handlers_disconnect_by_func (priv->parent_window, parent_window_topmost_notify, object); g_signal_handlers_disconnect_by_func (priv->parent_window, parent_window_unmapped, object); } if (priv->transfer_window) gdk_window_destroy (priv->transfer_window); g_list_foreach (priv->buttons, (GFunc) g_object_unref, NULL); g_list_foreach (priv->filters, (GFunc) g_object_unref, NULL); g_list_free (priv->buttons); g_list_free (priv->filters); g_signal_handlers_destroy (object); G_OBJECT_CLASS (hildon_app_menu_parent_class)->finalize (object); }
void apply_bottom_right(char** map, int x, int y, t_pos** pos) { y = y + 1; x = x + 1; while (map[y][x] != *pos[y][x].player) { g_signal_handlers_destroy(pos[y][x].area); if (*pos[y][x].player == 1) { color_black(pos[y][x].area, 0); g_signal_connect(G_OBJECT(pos[y][x].area), "expose_event", G_CALLBACK(color_black), 0); map[y][x] = 1; } if (*pos[y][x].player == 2) { color_white(pos[y][x].area, 0); g_signal_connect(G_OBJECT(pos[y][x].area), "expose_event", G_CALLBACK(color_white), 0); map[y][x] = 2; } y = y + 1; x = x + 1; } }
static void graph_media_modelos_sentimiento_finalize (GraphMediaModelosSentimiento* obj) { GraphMediaModelosSentimiento * self; self = G_TYPE_CHECK_INSTANCE_CAST (obj, GRAPH_MEDIA_MODELOS_TYPE_SENTIMIENTO, GraphMediaModelosSentimiento); g_signal_handlers_destroy (self); _g_free0 (self->nombre); _g_free0 (self->descripcion); }
static void system_linq_strings_finalize (SystemLinqstrings* obj) { SystemLinqstrings * self; #line 29 "/home/developer/projects/Backup/LibDotNet/src/System/Linq/Errors.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, SYSTEM_LINQ_TYPE_STRINGS, SystemLinqstrings); #line 29 "/home/developer/projects/Backup/LibDotNet/src/System/Linq/Errors.vala" g_signal_handlers_destroy (self); #line 637 "Errors.c" }
void close_notification(void) { if (notify) { g_signal_handlers_destroy(notify); notify_notification_close(notify, NULL); notify = NULL; } }
static void shell_process_finalize (GObject *object) { ShellProcess *self = (ShellProcess*)object; g_free (self->priv); g_signal_handlers_destroy(object); G_OBJECT_CLASS (shell_process_parent_class)->finalize(object); }
static void hello_world_finalize (HelloWorld* obj) { HelloWorld * self; self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_HELLO_WORLD, HelloWorld); g_signal_handlers_destroy (self); SDL_Quit (); _SDL_DestroyWindow0 (self->priv->window); _SDL_FreeSurface0 (self->priv->stretchedSurface); }
static void system_linq_error_finalize (SystemLinqError* obj) { SystemLinqError * self; #line 10 "/home/developer/projects/Backup/LibDotNet/src/System/Linq/Errors.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, SYSTEM_LINQ_TYPE_ERROR, SystemLinqError); #line 10 "/home/developer/projects/Backup/LibDotNet/src/System/Linq/Errors.vala" g_signal_handlers_destroy (self); #line 325 "Errors.c" }
static void hello_world_finalize (HelloWorld* obj) { HelloWorld * self; self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_HELLO_WORLD, HelloWorld); g_signal_handlers_destroy (self); SDL_Quit (); IMG_Quit (); _SDL_DestroyWindow0 (self->priv->window); _SDL_DestroyRenderer0 (self->priv->renderer); }
static void dpap_copy_finalize (DPAPCopy* obj) { DPAPCopy * self; self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_DPAP_COPY, DPAPCopy); g_signal_handlers_destroy (self); _g_object_unref0 (self->priv->browser); _g_object_unref0 (self->priv->connection); _g_object_unref0 (self->priv->db); _g_object_unref0 (self->priv->factory); }
static void system_text_regular_expressions_capture_finalize (SystemTextRegularExpressionsCapture* obj) { SystemTextRegularExpressionsCapture * self; #line 15 "/home/developer/projects/Backup/LibDotNet/src/System/Text/RegularExpressions/RegexCapture.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, SYSTEM_TEXT_REGULAR_EXPRESSIONS_TYPE_CAPTURE, SystemTextRegularExpressionsCapture); #line 15 "/home/developer/projects/Backup/LibDotNet/src/System/Text/RegularExpressions/RegexCapture.vala" g_signal_handlers_destroy (self); #line 17 "/home/developer/projects/Backup/LibDotNet/src/System/Text/RegularExpressions/RegexCapture.vala" _g_free0 (self->_text); #line 636 "RegexCapture.c" }
self->ref_count = 1; #line 391 "DictionaryEntry.c" } static void system_collections_dictionary_entry_finalize (SystemCollectionsDictionaryEntry* obj) { SystemCollectionsDictionaryEntry * self; #line 24 "/home/developer/projects/Backup/LibDotNet/src/System/Collections/DictionaryEntry.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, SYSTEM_COLLECTIONS_TYPE_DICTIONARY_ENTRY, SystemCollectionsDictionaryEntry); #line 24 "/home/developer/projects/Backup/LibDotNet/src/System/Collections/DictionaryEntry.vala" g_signal_handlers_destroy (self); #line 26 "/home/developer/projects/Backup/LibDotNet/src/System/Collections/DictionaryEntry.vala"
static void gsc_context_finalize (GObject *object) { GscContext *self = (GscContext *)object; g_free (self->priv->criteria); g_hash_table_foreach (self->priv->pinfo_table, (GHFunc)free_table_entry, self); g_hash_table_destroy (self->priv->pinfo_table); g_signal_handlers_destroy (object); G_OBJECT_CLASS (gsc_context_parent_class)->finalize (object); }
static void hs_ext_finalize (GObject *object) { HsExt *self = (HsExt *)object; if (self->priv->vm) { lua_close (self->priv->vm); self->priv->vm = NULL; } g_signal_handlers_destroy (object); G_OBJECT_CLASS (hs_ext_parent_class)->finalize (object); }
/* finalize is called when the object has to free its resources */ static void gst_object_finalize (GObject * object) { GstObject *gstobject = GST_OBJECT (object); GST_CAT_LOG_OBJECT (GST_CAT_REFCOUNTING, object, "finalize"); g_signal_handlers_destroy (object); g_free (gstobject->name); g_mutex_free (gstobject->lock); #ifndef GST_DISABLE_TRACE gst_alloc_trace_free (_gst_object_trace, object); #endif parent_class->finalize (object); }
void show_notification(const gchar *summary, const gchar *message, const gchar *action, gint timeout, GCallback handler) { NotifyActionCallback callback; #ifndef HAVE_APP_INDICATOR GdkScreen *screen; GdkRectangle area; #endif /* HAVE_APP_INDICATOR */ if (notify_is_initted() == FALSE) return; if (notify) { g_signal_handlers_destroy(notify); notify_notification_close(notify, NULL); } notify = notify_notification_new(summary, message, ACTIVE_ICON_NAME); notify_notification_set_timeout(notify, timeout); #ifndef HAVE_APP_INDICATOR if (gtk_status_icon_get_visible(statusicon) == TRUE) { gtk_status_icon_get_geometry(statusicon, &screen, &area, NULL); notify_notification_set_hint_int32(notify, "x", area.x + area.width / 2); notify_notification_set_hint_int32(notify, "y", area.y + area.height / 2); } #endif /* HAVE_APP_INDICATOR */ notify_notification_set_urgency(notify, NOTIFY_URGENCY_NORMAL); callback = handler ? NOTIFY_ACTION_CALLBACK(handler) : notify_action; notify_notification_add_action(notify, "default", "action", callback, NULL, NULL); if (action != NULL) notify_notification_add_action(notify, "button", action, callback, NULL, NULL); notify_notification_show(notify, NULL); }
static void ibus_object_real_destroy (IBusObject *obj) { g_signal_handlers_destroy (obj); }
static void zenmoney_finalize (Zenmoney* obj) { Zenmoney * self; self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_ZENMONEY, Zenmoney); g_signal_handlers_destroy (self); _oauth_zenmoney_unref0 (self->priv->ot); }
void window_destroy(GtkWidget * windowname) { g_signal_handlers_destroy(G_OBJECT(windowname)); gtk_grab_remove(windowname); gtk_widget_destroy(windowname); }
static void ag_chart_renderer_finalize (GObject *gobject) { g_signal_handlers_destroy(gobject); G_OBJECT_CLASS(ag_chart_renderer_parent_class)->finalize(gobject); }
static void dmap_mdns_browser_finalize (GObject * object) { g_signal_handlers_destroy (object); G_OBJECT_CLASS (dmap_mdns_browser_parent_class)->finalize (object); }
static void wmud_configuration_finalize(GObject *gobject) { g_signal_handlers_destroy(gobject); G_OBJECT_CLASS(wmud_configuration_parent_class)->finalize(gobject); }