diff options
author | Jonathan Blandford <jrb@gnome.org> | 2004-03-03 04:52:01 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2004-03-03 04:52:01 +0000 |
commit | bb5a499944d4fc9da92fccb7ab7b511c8ab6bb2d (patch) | |
tree | ed55ca16a1e23bd129137d0093e3874ec1d226e0 /gtk/gtkfilechooserembed.c | |
parent | 956e313af659ce8c8783814b119320aa3be226ea (diff) | |
download | gdk-pixbuf-bb5a499944d4fc9da92fccb7ab7b511c8ab6bb2d.tar.gz |
Split function into realized and unrealized variants, and consolidate the
Tue Mar 2 23:39:55 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserdialog.c
(file_chooser_widget_default_realized_size_changed): Split
function into realized and unrealized variants, and consolidate
the handling fo size-changing and default changing.
* gtk/gtkfilechooserembed.[ch] (gtk_file_chooser_embed_class_init):
remove resizable-hints-changed, as it just complicated things.
* gtk/gtkfilechooserdefault.c (update_appearance): Don't emit
resizable-hints-changed.
Diffstat (limited to 'gtk/gtkfilechooserembed.c')
-rw-r--r-- | gtk/gtkfilechooserembed.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gtk/gtkfilechooserembed.c b/gtk/gtkfilechooserembed.c index 72072408b..61a48fff5 100644 --- a/gtk/gtkfilechooserembed.c +++ b/gtk/gtkfilechooserembed.c @@ -10,8 +10,6 @@ static void delegate_get_resizable_hints (GtkFileChooserEmbed *chooser_embe gboolean *resize_vertically); static void delegate_default_size_changed (GtkFileChooserEmbed *chooser_embed, gpointer data); -static void delegate_resizable_hints_changed (GtkFileChooserEmbed *chooser_embed, - gpointer data); static GtkFileChooserEmbed * get_delegate (GtkFileChooserEmbed *receiver) @@ -56,8 +54,6 @@ _gtk_file_chooser_embed_set_delegate (GtkFileChooserEmbed *receiver, g_signal_connect (delegate, "default_size_changed", G_CALLBACK (delegate_default_size_changed), receiver); - g_signal_connect (delegate, "resizable_hints_changed", - G_CALLBACK (delegate_resizable_hints_changed), receiver); } @@ -85,13 +81,6 @@ delegate_default_size_changed (GtkFileChooserEmbed *chooser_embed, g_signal_emit_by_name (data, "default-size-changed"); } -static void -delegate_resizable_hints_changed (GtkFileChooserEmbed *chooser_embed, - gpointer data) -{ - g_signal_emit_by_name (data, "resizable-hints-changed"); -} - /* publicly callable functions */ @@ -132,13 +121,6 @@ gtk_file_chooser_embed_class_init (gpointer g_iface) NULL, NULL, _gtk_marshal_VOID__VOID, G_TYPE_NONE, 0); - g_signal_new ("resizable-hints-changed", - iface_type, - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (GtkFileChooserEmbedIface, resizable_hints_changed), - NULL, NULL, - _gtk_marshal_VOID__VOID, - G_TYPE_NONE, 0); } void |