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:
Florian Müllner 2016-07-27 15:46:38 +02:00
parent 284cbf3ea7
commit af5e65fd79
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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,