gtk+ r20637 - in trunk: . gtk
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20637 - in trunk: . gtk
- Date: Fri, 20 Jun 2008 13:23:22 +0000 (UTC)
Author: mitch
Date: Fri Jun 20 13:23:22 2008
New Revision: 20637
URL: http://svn.gnome.org/viewvc/gtk+?rev=20637&view=rev
Log:
2008-06-20 Michael Natterer <mitch imendio com>
* gtk/gtkdialog.c (gtk_dialog_get_action_area): change return
value from GtkHButtonBox to GtkWidget.
Modified:
trunk/ChangeLog
trunk/gtk/gtkdialog.c
trunk/gtk/gtkdialog.h
Modified: trunk/gtk/gtkdialog.c
==============================================================================
--- trunk/gtk/gtkdialog.c (original)
+++ trunk/gtk/gtkdialog.c Fri Jun 20 13:23:22 2008
@@ -1485,11 +1485,11 @@
*
* 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);
Modified: trunk/gtk/gtkdialog.h
==============================================================================
--- trunk/gtk/gtkdialog.h (original)
+++ trunk/gtk/gtkdialog.h Fri Jun 20 13:23:22 2008
@@ -34,7 +34,6 @@
#include <gdk/gdk.h>
#include <gtk/gtkwindow.h>
-#include <gtk/gtkhbbox.h>
G_BEGIN_DECLS
@@ -172,17 +171,17 @@
/* 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]