diff options
author | Michael Natterer <mitch@imendio.com> | 2008-09-24 10:35:53 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-09-24 10:35:53 +0000 |
commit | eed535d6b29ff5fac91421814d22b4a1927c8e10 (patch) | |
tree | bf0c69a8a30757f9dd0bf9561c69c1588ce56622 /gtk/gtkeventbox.c | |
parent | 5fcfc7a368e3f6877572314e008565cbcfc830d9 (diff) | |
download | gtk+-eed535d6b29ff5fac91421814d22b4a1927c8e10.tar.gz |
events return gboolean not gint, reindented static prototypes.
2008-09-24 Michael Natterer <mitch@imendio.com>
* gtk/gtkeventbox.c: events return gboolean not gint, reindented
static prototypes.
svn path=/trunk/; revision=21513
Diffstat (limited to 'gtk/gtkeventbox.c')
-rw-r--r-- | gtk/gtkeventbox.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/gtk/gtkeventbox.c b/gtk/gtkeventbox.c index e29e0c2ad9..70c2bb94d5 100644 --- a/gtk/gtkeventbox.c +++ b/gtk/gtkeventbox.c @@ -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 "config.h" @@ -30,7 +30,7 @@ #include "gtkintl.h" #include "gtkalias.h" -typedef struct +typedef struct { gboolean above_child; GdkWindow *event_window; @@ -45,26 +45,26 @@ enum { #define GTK_EVENT_BOX_GET_PRIVATE(obj) G_TYPE_INSTANCE_GET_PRIVATE((obj), GTK_TYPE_EVENT_BOX, GtkEventBoxPrivate) -static void gtk_event_box_realize (GtkWidget *widget); -static void gtk_event_box_unrealize (GtkWidget *widget); -static void gtk_event_box_map (GtkWidget *widget); -static void gtk_event_box_unmap (GtkWidget *widget); -static void gtk_event_box_size_request (GtkWidget *widget, - GtkRequisition *requisition); -static void gtk_event_box_size_allocate (GtkWidget *widget, - GtkAllocation *allocation); -static void gtk_event_box_paint (GtkWidget *widget, - GdkRectangle *area); -static gint gtk_event_box_expose (GtkWidget *widget, - GdkEventExpose *event); -static void gtk_event_box_set_property (GObject *object, - guint prop_id, - const GValue *value, - GParamSpec *pspec); -static void gtk_event_box_get_property (GObject *object, - guint prop_id, - GValue *value, - GParamSpec *pspec); +static void gtk_event_box_realize (GtkWidget *widget); +static void gtk_event_box_unrealize (GtkWidget *widget); +static void gtk_event_box_map (GtkWidget *widget); +static void gtk_event_box_unmap (GtkWidget *widget); +static void gtk_event_box_size_request (GtkWidget *widget, + GtkRequisition *requisition); +static void gtk_event_box_size_allocate (GtkWidget *widget, + GtkAllocation *allocation); +static void gtk_event_box_paint (GtkWidget *widget, + GdkRectangle *area); +static gboolean gtk_event_box_expose (GtkWidget *widget, + GdkEventExpose *event); +static void gtk_event_box_set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec); +static void gtk_event_box_get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec); G_DEFINE_TYPE (GtkEventBox, gtk_event_box, GTK_TYPE_BIN) @@ -562,7 +562,7 @@ gtk_event_box_paint (GtkWidget *widget, 0, 0, -1, -1); } -static gint +static gboolean gtk_event_box_expose (GtkWidget *widget, GdkEventExpose *event) { |