summaryrefslogtreecommitdiff
path: root/emerald
diff options
context:
space:
mode:
Diffstat (limited to 'emerald')
-rw-r--r--emerald/src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/emerald/src/main.c b/emerald/src/main.c
index 6512e4b..42de561 100644
--- a/emerald/src/main.c
+++ b/emerald/src/main.c
@@ -2979,7 +2979,7 @@ update_event_windows (WnckWindow *win)
gdk_error_trap_pop ();
}
-#if HAVE_WNCK_WINDOW_HAS_NAME
+#if HAVE_WNCK_WINDOW_HAS_NAME && 0
static const char *
wnck_window_get_real_name (WnckWindow *win)
{
@@ -2987,7 +2987,7 @@ wnck_window_get_real_name (WnckWindow *win)
}
#define wnck_window_get_name(w) wnck_window_get_real_name(w)
#else
-#define wnck_window_get_name(w) "noname"
+#define wnck_window_get_real_name(w) wnck_window_get_name(w)
#endif
gint
max_window_name_width (WnckWindow *win)