[gtk/wip/exalm/focus-entries2: 2/8] window: Make gtk_window_update_toplevel() non-static
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/exalm/focus-entries2: 2/8] window: Make gtk_window_update_toplevel() non-static
- Date: Wed, 6 May 2020 15:23:43 +0000 (UTC)
commit 942fa20a1ce663da6c9e4231cab44e93263b3019
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat May 2 20:36:43 2020 +0500
window: Make gtk_window_update_toplevel() non-static
It will be needed in the next commit.
gtk/gtkwindow.c | 3 +--
gtk/gtkwindowprivate.h | 2 ++
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 8ac7f67687..0f8ef1df59 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -495,7 +495,6 @@ static void gtk_window_state_flags_changed (GtkWidget *widget,
static void _gtk_window_set_is_active (GtkWindow *window,
gboolean is_active);
static void gtk_window_present_toplevel (GtkWindow *window);
-static void gtk_window_update_toplevel (GtkWindow *window);
static GdkToplevelLayout * gtk_window_compute_layout (GtkWindow *window,
int min_width,
int min_height);
@@ -4303,7 +4302,7 @@ gtk_window_present_toplevel (GtkWindow *window)
priv->layout);
}
-static void
+void
gtk_window_update_toplevel (GtkWindow *window)
{
GtkWindowPrivate *priv = gtk_window_get_instance_private (window);
diff --git a/gtk/gtkwindowprivate.h b/gtk/gtkwindowprivate.h
index 32141ad77a..23c6933109 100644
--- a/gtk/gtkwindowprivate.h
+++ b/gtk/gtkwindowprivate.h
@@ -135,6 +135,8 @@ GtkWidget * gtk_window_pick_popover (GtkWindow *window,
void gtk_window_set_extra_input_region (GtkWindow *window,
cairo_region_t *region);
+void gtk_window_update_toplevel (GtkWindow *window);
+
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]