global: Make timestamp parameter unsigned
Negative values don't make sense to timestamps, and an unsigned timestamp as returned by shell_global_get_current_time() or Gdk/Clutter events may exceed the range of signed integers. https://bugzilla.gnome.org/show_bug.cgi?id=769216
This commit is contained in:
parent
284cbf3ea7
commit
af5e65fd79
@ -1583,7 +1583,7 @@ shell_global_get_current_time (ShellGlobal *global)
|
||||
*/
|
||||
GAppLaunchContext *
|
||||
shell_global_create_app_launch_context (ShellGlobal *global,
|
||||
int timestamp,
|
||||
guint32 timestamp,
|
||||
int workspace)
|
||||
{
|
||||
GdkAppLaunchContext *context;
|
||||
|
@ -71,7 +71,7 @@ void shell_global_sync_pointer (ShellGlobal *global);
|
||||
|
||||
GAppLaunchContext *
|
||||
shell_global_create_app_launch_context (ShellGlobal *global,
|
||||
int timestamp,
|
||||
guint32 timestamp,
|
||||
int workspace);
|
||||
|
||||
void shell_global_play_theme_sound (ShellGlobal *global,
|
||||
|
Loading…
Reference in New Issue
Block a user