return gboolean instead of gint. Reindent static prototypes.

2008-09-02  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkdialog.c (gtk_dialog_delete_event_handler): return
	gboolean instead of gint. Reindent static prototypes.


svn path=/trunk/; revision=21260
This commit is contained in:
Michael Natterer 2008-09-02 16:37:37 +00:00 committed by Michael Natterer
parent 839aeeafa8
commit 06d7547ff8
2 changed files with 43 additions and 37 deletions

View File

@ -1,3 +1,8 @@
2008-09-02 Michael Natterer <mitch@imendio.com>
* gtk/gtkdialog.c (gtk_dialog_delete_event_handler): return
gboolean instead of gint. Reindent static prototypes.
2008-09-02 Michael Natterer <mitch@imendio.com> 2008-09-02 Michael Natterer <mitch@imendio.com>
* gtk/gtkwidget.c (gtk_widget_get_allocation): removed this * gtk/gtkwidget.c (gtk_widget_get_allocation): removed this

View File

@ -59,7 +59,7 @@ static void gtk_dialog_add_buttons_valist (GtkDialog *dialog,
const gchar *first_button_text, const gchar *first_button_text,
va_list args); va_list args);
static gint gtk_dialog_delete_event_handler (GtkWidget *widget, static gboolean gtk_dialog_delete_event_handler (GtkWidget *widget,
GdkEventAny *event, GdkEventAny *event,
gpointer user_data); gpointer user_data);
@ -79,6 +79,7 @@ static void gtk_dialog_close (GtkDialog *dialog);
static ResponseData * get_response_data (GtkWidget *widget, static ResponseData * get_response_data (GtkWidget *widget,
gboolean create); gboolean create);
static void gtk_dialog_buildable_interface_init (GtkBuildableIface *iface); static void gtk_dialog_buildable_interface_init (GtkBuildableIface *iface);
static GObject * gtk_dialog_buildable_get_internal_child (GtkBuildable *buildable, static GObject * gtk_dialog_buildable_get_internal_child (GtkBuildable *buildable,
GtkBuilder *builder, GtkBuilder *builder,
@ -350,7 +351,7 @@ gtk_dialog_get_property (GObject *object,
} }
} }
static gint static gboolean
gtk_dialog_delete_event_handler (GtkWidget *widget, gtk_dialog_delete_event_handler (GtkWidget *widget,
GdkEventAny *event, GdkEventAny *event,
gpointer user_data) gpointer user_data)