diff options
author | Søren Sandmann <sandmann@redhat.com> | 2006-05-04 17:32:26 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2006-05-04 17:32:26 +0000 |
commit | addc04f4631ebcd5b546058280d1f6cffce815cd (patch) | |
tree | f66f8f91db111edaae8dbda2838145ccb5e9c3f5 /src/ui.c | |
parent | 411fd3db44d0aba760e216a0aa6f312830353fcd (diff) | |
download | metacity-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.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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; |