mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 18:00:09 +00:00
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:
parent
839aeeafa8
commit
06d7547ff8
@ -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
|
||||||
|
@ -55,45 +55,46 @@ struct _ResponseData
|
|||||||
gint response_id;
|
gint response_id;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void gtk_dialog_add_buttons_valist (GtkDialog *dialog,
|
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);
|
||||||
|
|
||||||
static void gtk_dialog_set_property (GObject *object,
|
static void gtk_dialog_set_property (GObject *object,
|
||||||
guint prop_id,
|
guint prop_id,
|
||||||
const GValue *value,
|
const GValue *value,
|
||||||
GParamSpec *pspec);
|
GParamSpec *pspec);
|
||||||
static void gtk_dialog_get_property (GObject *object,
|
static void gtk_dialog_get_property (GObject *object,
|
||||||
guint prop_id,
|
guint prop_id,
|
||||||
GValue *value,
|
GValue *value,
|
||||||
GParamSpec *pspec);
|
GParamSpec *pspec);
|
||||||
static void gtk_dialog_style_set (GtkWidget *widget,
|
static void gtk_dialog_style_set (GtkWidget *widget,
|
||||||
GtkStyle *prev_style);
|
GtkStyle *prev_style);
|
||||||
static void gtk_dialog_map (GtkWidget *widget);
|
static void gtk_dialog_map (GtkWidget *widget);
|
||||||
|
|
||||||
static void gtk_dialog_close (GtkDialog *dialog);
|
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 GObject * gtk_dialog_buildable_get_internal_child (GtkBuildable *buildable,
|
static void gtk_dialog_buildable_interface_init (GtkBuildableIface *iface);
|
||||||
GtkBuilder *builder,
|
static GObject * gtk_dialog_buildable_get_internal_child (GtkBuildable *buildable,
|
||||||
const gchar *childname);
|
GtkBuilder *builder,
|
||||||
static gboolean gtk_dialog_buildable_custom_tag_start (GtkBuildable *buildable,
|
const gchar *childname);
|
||||||
GtkBuilder *builder,
|
static gboolean gtk_dialog_buildable_custom_tag_start (GtkBuildable *buildable,
|
||||||
GObject *child,
|
GtkBuilder *builder,
|
||||||
const gchar *tagname,
|
GObject *child,
|
||||||
GMarkupParser *parser,
|
const gchar *tagname,
|
||||||
gpointer *data);
|
GMarkupParser *parser,
|
||||||
static void gtk_dialog_buildable_custom_finished (GtkBuildable *buildable,
|
gpointer *data);
|
||||||
GtkBuilder *builder,
|
static void gtk_dialog_buildable_custom_finished (GtkBuildable *buildable,
|
||||||
GObject *child,
|
GtkBuilder *builder,
|
||||||
const gchar *tagname,
|
GObject *child,
|
||||||
gpointer user_data);
|
const gchar *tagname,
|
||||||
|
gpointer user_data);
|
||||||
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user