[gtk/wip/baedert/transforms5: 242/272] widget: Make queue_compute_expand private
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/transforms5: 242/272] widget: Make queue_compute_expand private
- Date: Fri, 9 Nov 2018 08:55:49 +0000 (UTC)
commit 928b51c936789c43e283edf507e9b1d26f8284dd
Author: Timm Bäder <mail baedert org>
Date: Sat Jul 21 13:11:27 2018 +0200
widget: Make queue_compute_expand private
Calling this from outside gtk+ makes no sense anymore.
docs/reference/gtk/gtk4-sections.txt | 1 -
gtk/gtkwidget.c | 1 +
gtk/gtkwidget.h | 2 --
3 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index c45e7564b9..7f1ed1c8fa 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -4587,7 +4587,6 @@ gtk_widget_get_vexpand
gtk_widget_set_vexpand
gtk_widget_get_vexpand_set
gtk_widget_set_vexpand_set
-gtk_widget_queue_compute_expand
gtk_widget_compute_expand
<SUBSECTION Templates>
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 0ca54c1b3f..7ccadb825d 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -677,6 +677,7 @@ static void gtk_widget_update_input_shape (GtkWidget *widget);
static gboolean gtk_widget_class_get_visible_by_default (GtkWidgetClass *widget_class);
static void _gtk_widget_propagate_hierarchy_changed (GtkWidget *widget,
GtkWidget *previous_toplevel);
+void gtk_widget_queue_compute_expand (GtkWidget *widget);
/* --- variables --- */
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index b92ba1229d..eb2410a237 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -678,8 +678,6 @@ GDK_AVAILABLE_IN_ALL
void gtk_widget_set_vexpand_set (GtkWidget *widget,
gboolean set);
GDK_AVAILABLE_IN_ALL
-void gtk_widget_queue_compute_expand (GtkWidget *widget);
-GDK_AVAILABLE_IN_ALL
gboolean gtk_widget_compute_expand (GtkWidget *widget,
GtkOrientation orientation);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]