change return value from GtkHButtonBox to GtkWidget.

2008-06-20  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkdialog.c (gtk_dialog_get_action_area): change return
	value from GtkHButtonBox to GtkWidget.


svn path=/trunk/; revision=20637
This commit is contained in:
Michael Natterer
2008-06-20 13:23:22 +00:00
committed by Michael Natterer
parent 1c453c8849
commit 7cd4eb5650
3 changed files with 18 additions and 14 deletions

View File

@ -1,3 +1,8 @@
2008-06-20 Michael Natterer <mitch@imendio.com>
* gtk/gtkdialog.c (gtk_dialog_get_action_area): change return
value from GtkHButtonBox to GtkWidget.
2008-06-20 Michael Natterer <mitch@imendio.com> 2008-06-20 Michael Natterer <mitch@imendio.com>
* gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting

View File

@ -1485,11 +1485,11 @@ gtk_dialog_buildable_custom_finished (GtkBuildable *buildable,
* *
* Returns the action area of @dialog. * Returns the action area of @dialog.
* *
* Returns: a #GtkHButtonBox. * Returns: the action area.
* *
* Since: GSEAL-branch * Since: GSEAL-branch
**/ **/
GtkHButtonBox * GtkWidget *
gtk_dialog_get_action_area (GtkDialog *dialog) gtk_dialog_get_action_area (GtkDialog *dialog)
{ {
g_return_val_if_fail (GTK_IS_DIALOG (dialog), NULL); g_return_val_if_fail (GTK_IS_DIALOG (dialog), NULL);

View File

@ -34,7 +34,6 @@
#include <gdk/gdk.h> #include <gdk/gdk.h>
#include <gtk/gtkwindow.h> #include <gtk/gtkwindow.h>
#include <gtk/gtkhbbox.h>
G_BEGIN_DECLS G_BEGIN_DECLS
@ -172,17 +171,17 @@ void gtk_dialog_response (GtkDialog *dialog,
/* Returns response_id */ /* Returns response_id */
gint gtk_dialog_run (GtkDialog *dialog); gint gtk_dialog_run (GtkDialog *dialog);
GtkHButtonBox* gtk_dialog_get_action_area (GtkDialog *dialog); GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog);
void gtk_dialog_pack_start (GtkDialog *dialog, void gtk_dialog_pack_start (GtkDialog *dialog,
GtkWidget *widget, GtkWidget *widget,
gboolean expand, gboolean expand,
gboolean fill, gboolean fill,
guint padding); guint padding);
void gtk_dialog_pack_end (GtkDialog *dialog, void gtk_dialog_pack_end (GtkDialog *dialog,
GtkWidget *widget, GtkWidget *widget,
gboolean expand, gboolean expand,
gboolean fill, gboolean fill,
guint padding); guint padding);
/* For private use only */ /* For private use only */
void _gtk_dialog_set_ignore_separator (GtkDialog *dialog, void _gtk_dialog_set_ignore_separator (GtkDialog *dialog,