]> Pileus Git - ~andy/gtk/commitdiff
change return value from GtkHButtonBox to GtkWidget.
authorMichael Natterer <mitch@imendio.com>
Fri, 20 Jun 2008 13:23:22 +0000 (13:23 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Fri, 20 Jun 2008 13:23:22 +0000 (13:23 +0000)
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

ChangeLog
gtk/gtkdialog.c
gtk/gtkdialog.h

index ff9dd9332ebb795dc2a5de97c42340463559e82b..87ce01ceb09d86e1ac131a018a2b3775b82eac99 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
index 6aac6c95d62a35b8a74d78193c0c2e0bf70b9469..99bd11cd2fe67c5bff07ae6aac7ce123c45ac709 100644 (file)
@@ -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);
index e8a4d047283a7f1285038a2d5aace347e5dac143..f25311ecfe7765a27fa775fbe30595d36d176741 100644 (file)
@@ -34,7 +34,6 @@
 
 #include <gdk/gdk.h>
 #include <gtk/gtkwindow.h>
-#include <gtk/gtkhbbox.h>
 
 
 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,