gtk: Prefix gtk_window_add_embedded_xid() with underscore

It's a private API after all.
Same thing for gtk_window_remove_embedded_xid().
This commit is contained in:
Benjamin Otte 2011-01-28 14:28:36 +01:00
parent e339c6276d
commit 5a1755bc50
3 changed files with 6 additions and 6 deletions

View File

@ -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);
#ifdef HAVE_XFIXES
gdk_error_trap_push ();

View File

@ -2295,7 +2295,7 @@ gtk_window_list_toplevels (void)
}
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)
}
void
gtk_window_remove_embedded_xid (GtkWindow *window, GdkNativeWindow xid)
_gtk_window_remove_embedded_xid (GtkWindow *window, GdkNativeWindow xid)
{
GList *embedded_windows;
GList *node;

View File

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