[gtk+] label: fix return value type for _draw()
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] label: fix return value type for _draw()
- Date: Wed, 8 May 2013 20:17:46 +0000 (UTC)
commit a725b063638c315b38569988105791dd2dc4c0ba
Author: Stefan Sauer <ensonic users sf net>
Date: Wed May 8 22:00:30 2013 +0200
label: fix return value type for _draw()
Change from gint to gboolean.
gtk/gtklabel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index eac6741..7e26c1d 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -384,7 +384,7 @@ static void gtk_label_size_allocate (GtkWidget *widget,
GtkAllocation *allocation);
static void gtk_label_state_flags_changed (GtkWidget *widget,
GtkStateFlags prev_state);
-static gint gtk_label_draw (GtkWidget *widget,
+static gboolean gtk_label_draw (GtkWidget *widget,
cairo_t *cr);
static gboolean gtk_label_focus (GtkWidget *widget,
GtkDirectionType direction);
@@ -4038,7 +4038,7 @@ gtk_label_get_focus_link (GtkLabel *label)
return NULL;
}
-static gint
+static gboolean
gtk_label_draw (GtkWidget *widget,
cairo_t *cr)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]