Avoid exporting an extra symbol

This commit is contained in:
Matthias Clasen 2010-11-01 09:16:37 -04:00 committed by Tristan Van Berkom
parent 31b0c1ad35
commit ac3258b07d
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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,