[gtk+] widget: Make gtk_widget_get_parent_muxer() as static
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget: Make gtk_widget_get_parent_muxer() as static
- Date: Mon, 17 Oct 2016 11:01:58 +0000 (UTC)
commit 3fdbe2ea13704caa49dffd50d8a9c651e26a27ff
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat Oct 15 21:20:35 2016 +0100
widget: Make gtk_widget_get_parent_muxer() as static
It's a private function, used only inside gtkwidget.c and not declared
in any private header.
gtk/gtkwidget.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index fd29ad3..ca6be0c 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5206,13 +5206,13 @@ gtk_widget_queue_allocate (GtkWidget *widget)
gtk_widget_set_alloc_needed (widget);
}
-/**
+/*
* gtk_widget_queue_resize_internal:
* @widget: a #GtkWidget
*
* Queue a resize on a widget, and on all other widgets grouped with this widget.
- **/
-void
+ */
+static void
gtk_widget_queue_resize_internal (GtkWidget *widget)
{
GSList *groups, *l, *widgets;
@@ -15223,8 +15223,8 @@ gtk_widget_get_modifier_mask (GtkWidget *widget,
intent);
}
-GtkActionMuxer *
-_gtk_widget_get_parent_muxer (GtkWidget *widget,
+static GtkActionMuxer *
+gtk_widget_get_parent_muxer (GtkWidget *widget,
gboolean create)
{
GtkWidget *parent;
@@ -15255,7 +15255,7 @@ _gtk_widget_update_parent_muxer (GtkWidget *widget)
return;
gtk_action_muxer_set_parent (muxer,
- _gtk_widget_get_parent_muxer (widget, TRUE));
+ gtk_widget_get_parent_muxer (widget, TRUE));
}
GtkActionMuxer *
@@ -15280,7 +15280,7 @@ _gtk_widget_get_action_muxer (GtkWidget *widget,
return muxer;
}
else
- return _gtk_widget_get_parent_muxer (widget, FALSE);
+ return gtk_widget_get_parent_muxer (widget, FALSE);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]