]> Pileus Git - ~andy/gtk/commitdiff
return gboolean instead of gint. Reindent static prototypes.
authorMichael Natterer <mitch@imendio.com>
Tue, 2 Sep 2008 16:37:37 +0000 (16:37 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Tue, 2 Sep 2008 16:37:37 +0000 (16:37 +0000)
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

ChangeLog
gtk/gtkdialog.c

index 2e3c3656dcc868f1b3db1db53be16b08bd938fd0..408a1b4900e7ec920624ecb68787c21328e252a3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * gtk/gtkwidget.c (gtk_widget_get_allocation): removed this
index 9cc95688275121a523a5cdf741148b21ccac0f46..2f94f840a071fe17febac6bea7f131e9964c292b 100644 (file)
@@ -21,7 +21,7 @@
  * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
  * file for a list of people on the GTK+ Team.  See the ChangeLog
  * files for a list of changes.  These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  */
 
 #include <stdlib.h>
@@ -55,45 +55,46 @@ struct _ResponseData
   gint response_id;
 };
 
-static void gtk_dialog_add_buttons_valist (GtkDialog   *dialog,
-                                           const gchar *first_button_text,
-                                           va_list      args);
-
-static gint gtk_dialog_delete_event_handler (GtkWidget   *widget,
-                                             GdkEventAny *event,
-                                             gpointer     user_data);
-
-static void gtk_dialog_set_property      (GObject          *object,
-                                          guint             prop_id,
-                                          const GValue     *value,
-                                          GParamSpec       *pspec);
-static void gtk_dialog_get_property      (GObject          *object,
-                                          guint             prop_id,
-                                          GValue           *value,
-                                          GParamSpec       *pspec);
-static void gtk_dialog_style_set         (GtkWidget        *widget,
-                                          GtkStyle         *prev_style);
-static void gtk_dialog_map               (GtkWidget        *widget);
-
-static void gtk_dialog_close             (GtkDialog        *dialog);
-
-static ResponseData* get_response_data   (GtkWidget        *widget,
-                                         gboolean          create);
-static void gtk_dialog_buildable_interface_init     (GtkBuildableIface *iface);
-static GObject * gtk_dialog_buildable_get_internal_child (GtkBuildable *buildable,
-                                                    GtkBuilder   *builder,
-                                                    const gchar  *childname);
-static gboolean gtk_dialog_buildable_custom_tag_start (GtkBuildable  *buildable,
-                                                      GtkBuilder    *builder,
-                                                      GObject       *child,
-                                                      const gchar   *tagname,
-                                                      GMarkupParser *parser,
-                                                      gpointer      *data);
-static void gtk_dialog_buildable_custom_finished (GtkBuildable *buildable,
-                                                 GtkBuilder   *builder,
-                                                 GObject       *child,
-                                                 const gchar   *tagname,
-                                                 gpointer      user_data);
+static void      gtk_dialog_add_buttons_valist   (GtkDialog    *dialog,
+                                                  const gchar  *first_button_text,
+                                                  va_list       args);
+
+static gboolean  gtk_dialog_delete_event_handler (GtkWidget    *widget,
+                                                  GdkEventAny  *event,
+                                                  gpointer      user_data);
+
+static void      gtk_dialog_set_property         (GObject      *object,
+                                                  guint         prop_id,
+                                                  const GValue *value,
+                                                  GParamSpec   *pspec);
+static void      gtk_dialog_get_property         (GObject      *object,
+                                                  guint         prop_id,
+                                                  GValue       *value,
+                                                  GParamSpec   *pspec);
+static void      gtk_dialog_style_set            (GtkWidget    *widget,
+                                                  GtkStyle     *prev_style);
+static void      gtk_dialog_map                  (GtkWidget    *widget);
+
+static void      gtk_dialog_close                (GtkDialog    *dialog);
+
+static ResponseData * get_response_data          (GtkWidget    *widget,
+                                                  gboolean      create);
+
+static void      gtk_dialog_buildable_interface_init     (GtkBuildableIface *iface);
+static GObject * gtk_dialog_buildable_get_internal_child (GtkBuildable  *buildable,
+                                                          GtkBuilder    *builder,
+                                                          const gchar   *childname);
+static gboolean  gtk_dialog_buildable_custom_tag_start   (GtkBuildable  *buildable,
+                                                          GtkBuilder    *builder,
+                                                          GObject       *child,
+                                                          const gchar   *tagname,
+                                                          GMarkupParser *parser,
+                                                          gpointer      *data);
+static void      gtk_dialog_buildable_custom_finished    (GtkBuildable  *buildable,
+                                                          GtkBuilder    *builder,
+                                                          GObject       *child,
+                                                          const gchar   *tagname,
+                                                          gpointer       user_data);
 
 
 enum {
@@ -350,7 +351,7 @@ gtk_dialog_get_property (GObject     *object,
     }
 }
 
-static gint
+static gboolean
 gtk_dialog_delete_event_handler (GtkWidget   *widget,
                                  GdkEventAny *event,
                                  gpointer     user_data)