aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.c
diff options
context:
space:
mode:
authorSteve Frécinaux <code@istique.net>2009-09-15 03:10:36 +0800
committerSteve Frécinaux <code@istique.net>2009-09-15 03:10:36 +0800
commit9600d59c5317b692e3549e0bcc293607cda5fb4e (patch)
tree97d053567c44190d84e10114ab51c247d295fcec /libempathy-gtk/empathy-ui-utils.c
parentff5b9397a4a2ca0e1b918b196cc14f9c6634d013 (diff)
downloadgsoc2013-empathy-9600d59c5317b692e3549e0bcc293607cda5fb4e.tar
gsoc2013-empathy-9600d59c5317b692e3549e0bcc293607cda5fb4e.tar.gz
gsoc2013-empathy-9600d59c5317b692e3549e0bcc293607cda5fb4e.tar.bz2
gsoc2013-empathy-9600d59c5317b692e3549e0bcc293607cda5fb4e.tar.lz
gsoc2013-empathy-9600d59c5317b692e3549e0bcc293607cda5fb4e.tar.xz
gsoc2013-empathy-9600d59c5317b692e3549e0bcc293607cda5fb4e.tar.zst
gsoc2013-empathy-9600d59c5317b692e3549e0bcc293607cda5fb4e.zip
Fix previous patch.
Sometimes, reworking trivial patches goes bad...
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.c')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 3cf754f84..aeb665c74 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1295,15 +1295,15 @@ empathy_window_present (GtkWindow *window,
gboolean steal_focus)
{
guint32 timestamp;
- GdkWindow *window;
+ GdkWindow *gdk_window;
g_return_if_fail (GTK_IS_WINDOW (window));
/* Move the window to the current workspace before trying to show it.
* This is the behaviour people expect when clicking on the statusbar icon. */
- window = gtk_widget_get_window (GTK_WIDGET (window));
- if (window)
- gdk_x11_window_move_to_current_desktop (window);
+ gdk_window = gtk_widget_get_window (GTK_WIDGET (window));
+ if (gdk_window)
+ gdk_x11_window_move_to_current_desktop (gdk_window);
timestamp = gtk_get_current_event_time ();
gtk_window_present_with_time (window, timestamp);