summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-03-24 23:40:27 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-03-24 23:40:27 +0800
commit85789b7e8e2e748add825252eaa88d9e65ebc03e (patch)
treee2a12ab21b7c91055867ce7895b013780026c383 /gtk
parent934337177a21ec743ba816db2ca6172929aeeac4 (diff)
downloadzcomp-85789b7e8e2e748add825252eaa88d9e65ebc03e.tar.gz
zcomp-85789b7e8e2e748add825252eaa88d9e65ebc03e.tar.bz2
Fixed partial decorations on decor plugin reload bug
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 1f14058..ee646a1 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_get_visible (tip_window))
+ if (GTK_WIDGET_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) || (!mode && !d->frame_window))
+ if ((mode && d->frame_window))
{
return;
}