summaryrefslogtreecommitdiff
path: root/docs/reference/gtk/tmpl/gtkimage.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/gtk/tmpl/gtkimage.sgml')
-rw-r--r--docs/reference/gtk/tmpl/gtkimage.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/gtk/tmpl/gtkimage.sgml b/docs/reference/gtk/tmpl/gtkimage.sgml
index 68eb6ea3a1..af6327c4fa 100644
--- a/docs/reference/gtk/tmpl/gtkimage.sgml
+++ b/docs/reference/gtk/tmpl/gtkimage.sgml
@@ -40,12 +40,12 @@ on the image, such as button clicks, place the image inside a
<title>Handling button press events on a
<structname>GtkImage</structname>.</title>
<programlisting>
- static void
+ static gboolean
button_press_callback (GtkWidget *event_box,
GdkEventButton *event,
gpointer data)
{
- g_print ("Event box clicked at coordinates &percnt;d,&percnt;d\n",
+ g_print ("Event box clicked at coordinates &percnt;f,&percnt;f\n",
event->x, event->y);
/* Returning TRUE means we handled the event, so the signal