Commit 5a1755bc authored by Benjamin Otte's avatar Benjamin Otte
Browse files

gtk: Prefix gtk_window_add_embedded_xid() with underscore

It's a private API after all.
Same thing for gtk_window_remove_embedded_xid().
parent e339c627
......@@ -454,7 +454,7 @@ gtk_socket_end_embedding (GtkSocket *socket)
GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (socket));
if (GTK_IS_WINDOW (toplevel))
gtk_window_remove_embedded_xid (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (socket))),
_gtk_window_remove_embedded_xid (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (socket))),
GDK_WINDOW_XID (socket->priv->plug_window));
g_object_unref (private->plug_window);
......@@ -1134,7 +1134,7 @@ gtk_socket_add_window (GtkSocket *socket,
toplevel = gtk_widget_get_toplevel (GTK_WIDGET (socket));
if (GTK_IS_WINDOW (toplevel))
gtk_window_add_embedded_xid (GTK_WINDOW (toplevel), xid);
_gtk_window_add_embedded_xid (GTK_WINDOW (toplevel), xid);
gdk_error_trap_push ();
......@@ -2295,7 +2295,7 @@ gtk_window_list_toplevels (void)
gtk_window_add_embedded_xid (GtkWindow *window, GdkNativeWindow xid)
_gtk_window_add_embedded_xid (GtkWindow *window, GdkNativeWindow xid)
GList *embedded_windows;
......@@ -2314,7 +2314,7 @@ gtk_window_add_embedded_xid (GtkWindow *window, GdkNativeWindow xid)
gtk_window_remove_embedded_xid (GtkWindow *window, GdkNativeWindow xid)
_gtk_window_remove_embedded_xid (GtkWindow *window, GdkNativeWindow xid)
GList *embedded_windows;
GList *node;
......@@ -27,9 +27,9 @@ G_BEGIN_DECLS
void _gtk_window_internal_set_focus (GtkWindow *window,
GtkWidget *focus);
void gtk_window_remove_embedded_xid (GtkWindow *window,
void _gtk_window_remove_embedded_xid (GtkWindow *window,
GdkNativeWindow xid);
void gtk_window_add_embedded_xid (GtkWindow *window,
void _gtk_window_add_embedded_xid (GtkWindow *window,
GdkNativeWindow xid);
void _gtk_window_reposition (GtkWindow *window,
gint x,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment