Mercurial > pidgin
comparison plugins/gestures/stroke-draw.c @ 4432:25c2119deab3
[gaim-migrate @ 4707]
minor cleanups
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 26 Jan 2003 22:04:30 +0000 |
parents | ce8d35b435de |
children | f630a793b9d4 |
comparison
equal
deleted
inserted
replaced
4431:50ef0203fdbf | 4432:25c2119deab3 |
---|---|
105 process_event (GtkWidget *widget, GdkEvent *event, gpointer data G_GNUC_UNUSED) | 105 process_event (GtkWidget *widget, GdkEvent *event, gpointer data G_GNUC_UNUSED) |
106 { | 106 { |
107 static GtkWidget *original_widget = NULL; | 107 static GtkWidget *original_widget = NULL; |
108 switch (event->type) { | 108 switch (event->type) { |
109 case GDK_BUTTON_PRESS: | 109 case GDK_BUTTON_PRESS: |
110 debug_printf("Button press: %d\n", event->button.button); | |
111 if (event->button.button != gstroke_get_mouse_button()) | 110 if (event->button.button != gstroke_get_mouse_button()) |
112 break; | 111 break; |
113 | 112 |
114 original_widget = widget; /* remeber the widget where | 113 original_widget = widget; /* remeber the widget where |
115 the stroke started */ | 114 the stroke started */ |