diff options
Diffstat (limited to 'deskutils/gucharmap/files/patch-gucharmap_gucharmap-window.c')
-rw-r--r-- | deskutils/gucharmap/files/patch-gucharmap_gucharmap-window.c | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/deskutils/gucharmap/files/patch-gucharmap_gucharmap-window.c b/deskutils/gucharmap/files/patch-gucharmap_gucharmap-window.c index ce9879281483..c0abeb262374 100644 --- a/deskutils/gucharmap/files/patch-gucharmap_gucharmap-window.c +++ b/deskutils/gucharmap/files/patch-gucharmap_gucharmap-window.c @@ -1,6 +1,15 @@ ---- gucharmap/gucharmap-window.c.orig Fri Feb 27 13:11:01 2004 -+++ gucharmap/gucharmap-window.c Wed Mar 3 22:45:21 2004 -@@ -417,8 +417,8 @@ +--- gucharmap/gucharmap-window.c.orig Mon Jan 24 05:56:53 2005 ++++ gucharmap/gucharmap-window.c Sat Sep 17 04:04:07 2005 +@@ -82,6 +82,8 @@ + ChaptersMode chapters_mode; + }; + ++static GtkWindowClass *parent_class = NULL; ++ + static void + status_message (GtkWidget *widget, + const gchar *message, +@@ -417,8 +419,8 @@ { GucharmapWindowPrivate *priv = GUCHARMAP_WINDOW_GET_PRIVATE (guw); gucharmap_charmap_set_chapters (guw->charmap, GUCHARMAP_CHAPTERS (gucharmap_script_chapters_new ())); @@ -11,7 +20,7 @@ } } -@@ -430,8 +430,8 @@ +@@ -430,8 +432,8 @@ { GucharmapWindowPrivate *priv = GUCHARMAP_WINDOW_GET_PRIVATE (guw); gucharmap_charmap_set_chapters (guw->charmap, GUCHARMAP_CHAPTERS (gucharmap_block_chapters_new ())); @@ -22,7 +31,7 @@ } } -@@ -834,12 +834,12 @@ +@@ -834,12 +836,12 @@ g_signal_connect (priv->status, "realize", G_CALLBACK (status_realize), guw); priv->progress = gtk_progress_bar_new (); @@ -37,3 +46,17 @@ #endif gtk_widget_show_all (hbox); +@@ -886,11 +888,13 @@ + g_free (priv->last_search); + */ + #endif ++ G_OBJECT_CLASS (parent_class)->finalize (object); + } + + static void + gucharmap_window_class_init (GucharmapWindowClass *clazz) + { ++ parent_class = g_type_class_peek_parent (clazz); + GTK_WIDGET_CLASS (clazz)->show_all = show_all; + G_OBJECT_CLASS (clazz)->finalize = window_finalize; + g_type_class_add_private (clazz, sizeof (GucharmapWindowPrivate)); |