From ac3258b07d710bac33f72ce4b276855db3781e8c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 1 Nov 2010 09:16:37 -0400 Subject: [PATCH] Avoid exporting an extra symbol --- gtk/gtksizerequest.c | 4 ++-- gtk/gtkwidget.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/gtksizerequest.c b/gtk/gtksizerequest.c index ba94aebab6..a721a0a9ac 100644 --- a/gtk/gtksizerequest.c +++ b/gtk/gtksizerequest.c @@ -105,7 +105,7 @@ get_cached_size (SizeRequestCache *cache, } -extern guint size_request_signal_id; +extern guint _size_request_signal_id; static void do_size_request (GtkWidget *widget, GtkRequisition *requisition) @@ -117,7 +117,7 @@ do_size_request (GtkWidget *widget, "will be removed in the next release", G_OBJECT_TYPE_NAME (widget)); - if (g_signal_has_handler_pending (widget, size_request_signal_id, 0, TRUE)) + if (g_signal_has_handler_pending (widget, _size_request_signal_id, 0, TRUE)) g_warning ("A %s (%p) has handler(s) connected to the GtkWidgetClass::size-request signal which is " "deprecated and will be removed in the next release", G_OBJECT_TYPE_NAME (widget), widget); diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index a3b228e217..8f00708e1d 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -711,7 +711,7 @@ static GtkTextDirection gtk_default_direction = GTK_TEXT_DIR_LTR; static GParamSpecPool *style_property_spec_pool = NULL; /* XXX Temporarily here to fire warnings from gtksizerequest.c */ -guint size_request_signal_id = 0; +guint _size_request_signal_id = 0; static GQuark quark_property_parser = 0; static GQuark quark_aux_info = 0; @@ -1470,7 +1470,7 @@ gtk_widget_class_init (GtkWidgetClass *klass) * @widget: the object which received the signal. * @requisition: */ - size_request_signal_id = widget_signals[SIZE_REQUEST] = + _size_request_signal_id = widget_signals[SIZE_REQUEST] = g_signal_new (I_("size-request"), G_TYPE_FROM_CLASS (gobject_class), G_SIGNAL_RUN_FIRST,