summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2006-05-04 17:32:26 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2006-05-04 17:32:26 +0000
commitaddc04f4631ebcd5b546058280d1f6cffce815cd (patch)
treef66f8f91db111edaae8dbda2838145ccb5e9c3f5 /src/ui.c
parent411fd3db44d0aba760e216a0aa6f312830353fcd (diff)
downloadmetacity-addc04f4631ebcd5b546058280d1f6cffce815cd.tar.gz
Delete unused META_PRIORITY_COMPOSITE
Thu May 4 13:30:04 2006 Søren Sandmann <sandmann@redhat.com> * src/ui.h: Delete unused META_PRIORITY_COMPOSITE * src/ui.c: Delete argument from meta_ui_get_display(). * src/c-window.c: Remove the xid->window hashtable and associated code. * src/c-screen.[ch]: Rename MetaScreenInfo to MetaCompScreen. Put the xid->windows table here instaed of as a static variable. Also make sure that CompWindows are freed when the screen is unredirected. * src/display.c: Delete non USE_GDK_DISPLAY case, as it didn't work and hasn't been compiled for a long time. * src/display.[ch] (meta_display_open): Remove argument as it was always NULL (and couldn't possibly be anything else in the USE_GDK_DISPLAY case).
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ui.c b/src/ui.c
index baeb2889..19cbe9cf 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -56,12 +56,9 @@ meta_ui_init (int *argc, char ***argv)
}
Display*
-meta_ui_get_display (const char *name)
+meta_ui_get_display (void)
{
- if (name == NULL)
- return gdk_display;
- else
- return NULL;
+ return gdk_display;
}
typedef struct _EventFunc EventFunc;