mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 02:20:43 -05:00
* tests/test-unproject.c (on_event):
* tests/test-project.c (on_event): Use a return value for the 'event' signal handler, otherwise it might accidentally return TRUE for unhandled events and you won't be able to close the window.
This commit is contained in:
parent
77b1388d1c
commit
21c1986a41
@ -1,3 +1,11 @@
|
|||||||
|
2008-09-22 Neil Roberts <neil@linux.intel.com>
|
||||||
|
|
||||||
|
* tests/test-unproject.c (on_event):
|
||||||
|
* tests/test-project.c (on_event): Use a return value for the
|
||||||
|
'event' signal handler, otherwise it might accidentally return
|
||||||
|
TRUE for unhandled events and you won't be able to close the
|
||||||
|
window.
|
||||||
|
|
||||||
2008-09-19 Emmanuele Bassi <ebassi@linux.intel.com>
|
2008-09-19 Emmanuele Bassi <ebassi@linux.intel.com>
|
||||||
|
|
||||||
Bug 1033 - Manually parsing command line options prevents
|
Bug 1033 - Manually parsing command line options prevents
|
||||||
|
@ -93,8 +93,7 @@ find_handle_index (ClutterActor * a)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gboolean
|
||||||
void
|
|
||||||
on_event (ClutterStage *stage,
|
on_event (ClutterStage *stage,
|
||||||
ClutterEvent *event,
|
ClutterEvent *event,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
@ -198,6 +197,8 @@ on_event (ClutterStage *stage,
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ ClutterActor *label;
|
|||||||
#define RECT_W 320
|
#define RECT_W 320
|
||||||
#define RECT_H 240
|
#define RECT_H 240
|
||||||
|
|
||||||
void
|
gboolean
|
||||||
on_event (ClutterStage *stage,
|
on_event (ClutterStage *stage,
|
||||||
ClutterEvent *event,
|
ClutterEvent *event,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
@ -63,6 +63,8 @@ on_event (ClutterStage *stage,
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user