From 88eb99ff4aca845da21a5ce24612e7ebcc52d0ca Mon Sep 17 00:00:00 2001 From: Erwann Chenede - Date: Fri, 3 May 2002 17:19:11 +0000 Subject: [PATCH] changed the order of the arguments. #80278 2002-05-03 Erwann Chenede - * gtk/gtkplug.[hc] (gtk_plug_construct_for_display): changed the order of the arguments. #80278 --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkplug.c | 10 +++++----- gtk/gtkplug.h | 4 ++-- 8 files changed, 37 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3ee815c231..2767b35d83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-03 Erwann Chenede - + + * gtk/gtkplug.[hc] (gtk_plug_construct_for_display): + changed the order of the arguments. #80278 + 2002-05-02 Matthias Clasen * gdk/gdkscreen.c (gdk_screen_get_monitor_at_window): Fix doc comment. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 3ee815c231..2767b35d83 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2002-05-03 Erwann Chenede - + + * gtk/gtkplug.[hc] (gtk_plug_construct_for_display): + changed the order of the arguments. #80278 + 2002-05-02 Matthias Clasen * gdk/gdkscreen.c (gdk_screen_get_monitor_at_window): Fix doc comment. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 3ee815c231..2767b35d83 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2002-05-03 Erwann Chenede - + + * gtk/gtkplug.[hc] (gtk_plug_construct_for_display): + changed the order of the arguments. #80278 + 2002-05-02 Matthias Clasen * gdk/gdkscreen.c (gdk_screen_get_monitor_at_window): Fix doc comment. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 3ee815c231..2767b35d83 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2002-05-03 Erwann Chenede - + + * gtk/gtkplug.[hc] (gtk_plug_construct_for_display): + changed the order of the arguments. #80278 + 2002-05-02 Matthias Clasen * gdk/gdkscreen.c (gdk_screen_get_monitor_at_window): Fix doc comment. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 3ee815c231..2767b35d83 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2002-05-03 Erwann Chenede - + + * gtk/gtkplug.[hc] (gtk_plug_construct_for_display): + changed the order of the arguments. #80278 + 2002-05-02 Matthias Clasen * gdk/gdkscreen.c (gdk_screen_get_monitor_at_window): Fix doc comment. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 3ee815c231..2767b35d83 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2002-05-03 Erwann Chenede - + + * gtk/gtkplug.[hc] (gtk_plug_construct_for_display): + changed the order of the arguments. #80278 + 2002-05-02 Matthias Clasen * gdk/gdkscreen.c (gdk_screen_get_monitor_at_window): Fix doc comment. 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); } diff --git a/gtk/gtkplug.h b/gtk/gtkplug.h index 38a19f6bfe..139189e730 100644 --- a/gtk/gtkplug.h +++ b/gtk/gtkplug.h @@ -83,8 +83,8 @@ void gtk_plug_construct (GtkPlug *plug, GtkWidget* gtk_plug_new (GdkNativeWindow socket_id); #endif -void gtk_plug_construct_for_display (GdkDisplay *display, - GtkPlug *plug, +void gtk_plug_construct_for_display (GtkPlug *plug, + GdkDisplay *display, GdkNativeWindow socket_id); GtkWidget* gtk_plug_new_for_display (GdkDisplay *display, GdkNativeWindow socket_id);