summaryrefslogtreecommitdiff
path: root/gtk/gtkplug.c
diff options
context:
space:
mode:
authorErwann Chenede - <erwann.chenede@sun.com>2002-05-03 17:19:11 +0000
committerErwann Chenede <erwannc@src.gnome.org>2002-05-03 17:19:11 +0000
commit88eb99ff4aca845da21a5ce24612e7ebcc52d0ca (patch)
tree38870058810cf93d211307b37f0068406f4f35ef /gtk/gtkplug.c
parent7b168e71eb186d996e797f8100265ea9413c457a (diff)
downloadgtk+-88eb99ff4aca845da21a5ce24612e7ebcc52d0ca.tar.gz
changed the order of the arguments. #80278
2002-05-03 Erwann Chenede - <erwann.chenede@sun.com> * gtk/gtkplug.[hc] (gtk_plug_construct_for_display): changed the order of the arguments. #80278
Diffstat (limited to 'gtk/gtkplug.c')
-rw-r--r--gtk/gtkplug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkplug.c b/gtk/gtkplug.c
index 2b4a4084c0..44c2984204 100644
--- a/gtk/gtkplug.c
+++ b/gtk/gtkplug.c
@@ -320,14 +320,14 @@ void
gtk_plug_construct (GtkPlug *plug,
GdkNativeWindow socket_id)
{
- gtk_plug_construct_for_display (gdk_get_default_display (), plug, socket_id);
+ gtk_plug_construct_for_display (plug, gdk_get_default_display (), socket_id);
}
/**
* gtk_plug_construct_for_display:
+ * @plug: a #GtkPlug.
* @display: the #GdkDisplay associated with @socket_id's
* #GtkSocket.
- * @plug: a #GtkPlug.
* @socket_id: the XID of the socket's window.
*
* Finish the Initialization of @plug for a given #GtkSocket identified by
@@ -335,8 +335,8 @@ gtk_plug_construct (GtkPlug *plug,
* This function will generally only be used by classes deriving from #GtkPlug.
**/
void
-gtk_plug_construct_for_display (GdkDisplay *display,
- GtkPlug *plug,
+gtk_plug_construct_for_display (GtkPlug *plug,
+ GdkDisplay *display,
GdkNativeWindow socket_id)
{
if (socket_id)
@@ -398,7 +398,7 @@ gtk_plug_new_for_display (GdkDisplay *display,
GtkPlug *plug;
plug = GTK_PLUG (gtk_type_new (GTK_TYPE_PLUG));
- gtk_plug_construct_for_display (display, plug, socket_id);
+ gtk_plug_construct_for_display (plug, display, socket_id);
return GTK_WIDGET (plug);
}