From: Michael Natterer Date: Fri, 20 Jun 2008 13:23:22 +0000 (+0000) Subject: change return value from GtkHButtonBox to GtkWidget. X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=7cd4eb5650cd556f20ae7671a3c753f6de76c541;p=~andy%2Fgtk change return value from GtkHButtonBox to GtkWidget. 2008-06-20 Michael Natterer * gtk/gtkdialog.c (gtk_dialog_get_action_area): change return value from GtkHButtonBox to GtkWidget. svn path=/trunk/; revision=20637 --- diff --git a/ChangeLog b/ChangeLog index ff9dd9332..87ce01ceb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-20 Michael Natterer + + * gtk/gtkdialog.c (gtk_dialog_get_action_area): change return + value from GtkHButtonBox to GtkWidget. + 2008-06-20 Michael Natterer * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index 6aac6c95d..99bd11cd2 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -1485,11 +1485,11 @@ gtk_dialog_buildable_custom_finished (GtkBuildable *buildable, * * Returns the action area of @dialog. * - * Returns: a #GtkHButtonBox. + * Returns: the action area. * * Since: GSEAL-branch **/ -GtkHButtonBox * +GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog) { g_return_val_if_fail (GTK_IS_DIALOG (dialog), NULL); diff --git a/gtk/gtkdialog.h b/gtk/gtkdialog.h index e8a4d0472..f25311ecf 100644 --- a/gtk/gtkdialog.h +++ b/gtk/gtkdialog.h @@ -34,7 +34,6 @@ #include #include -#include G_BEGIN_DECLS @@ -172,17 +171,17 @@ void gtk_dialog_response (GtkDialog *dialog, /* Returns response_id */ gint gtk_dialog_run (GtkDialog *dialog); -GtkHButtonBox* gtk_dialog_get_action_area (GtkDialog *dialog); -void gtk_dialog_pack_start (GtkDialog *dialog, - GtkWidget *widget, - gboolean expand, - gboolean fill, - guint padding); -void gtk_dialog_pack_end (GtkDialog *dialog, - GtkWidget *widget, - gboolean expand, - gboolean fill, - guint padding); +GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog); +void gtk_dialog_pack_start (GtkDialog *dialog, + GtkWidget *widget, + gboolean expand, + gboolean fill, + guint padding); +void gtk_dialog_pack_end (GtkDialog *dialog, + GtkWidget *widget, + gboolean expand, + gboolean fill, + guint padding); /* For private use only */ void _gtk_dialog_set_ignore_separator (GtkDialog *dialog,