summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-03-25 00:00:50 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-03-25 00:00:50 +0800
commit7829b75f9e68380e1ca94d9f91ce0745ea8653e0 (patch)
tree405f85c63212fcf2ece99786d6a7f167834d0d59 /gtk
parent3a5dbb8fb535c51711760b7d5459019548f4c204 (diff)
downloadzcomp-7829b75f9e68380e1ca94d9f91ce0745ea8653e0.tar.gz
zcomp-7829b75f9e68380e1ca94d9f91ce0745ea8653e0.tar.bz2
Fix typo and cleanup
Diffstat (limited to 'gtk')
-rw-r--r--gtk/window-decorator/gtk-window-decorator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/window-decorator/gtk-window-decorator.c b/gtk/window-decorator/gtk-window-decorator.c
index ee646a1..8f6aa4f 100644
--- a/gtk/window-decorator/gtk-window-decorator.c
+++ b/gtk/window-decorator/gtk-window-decorator.c
@@ -3951,7 +3951,7 @@ show_tooltip (const char *text)
static void
hide_tooltip (void)
{
- if (GTK_WIDGET_VISIBLE (tip_window))
+ if (gtk_widget_get_visible (tip_window))
g_get_current_time (&tooltip_last_popdown);
gtk_widget_hide (tip_window);
@@ -5149,7 +5149,7 @@ add_frame_window (WnckWindow *win,
if (d->created)
{
- if ((mode && d->frame_window))
+ if (mode && d->frame_window)
{
return;
}