if (superwin->translate_queue) { GSList *tmp_list = superwin->translate_queue; while (tmp_list) { g_free(tmp_list->data); tmp_list = tmp_list->next; } g_slist_free(superwin->translate_queue); }
void gdk_superwin_destroy(GtkObject *object){    GdkSuperWin *superwin = NULL;  g_return_if_fail(object != NULL);  g_return_if_fail(GTK_IS_OBJECT(object));  g_return_if_fail(GTK_OBJECT_CONSTRUCTED(object));  g_return_if_fail(GDK_IS_SUPERWIN(object));  superwin = GDK_SUPERWIN(object);  gdk_window_remove_filter(superwin->shell_window,                           gdk_superwin_shell_filter,                           superwin);  gdk_window_remove_filter(superwin->bin_window,                           gdk_superwin_bin_filter,                           superwin);  gdk_window_destroy(superwin->bin_window);  gdk_window_destroy(superwin->shell_window);}