changeset 2339:9326f6a1f024 trunk

[svn] - removed a couple of useless gdk calls in mainwin_real_hide()
author giacomo
date Mon, 15 Jan 2007 09:48:56 -0800
parents d0a04f1ee732
children eb71fec30e9a
files ChangeLog src/audacious/ui_main.c
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jan 15 09:18:27 2007 -0800
+++ b/ChangeLog	Mon Jan 15 09:48:56 2007 -0800
@@ -1,3 +1,10 @@
+2007-01-15 17:18:27 +0000  Giacomo Lozito <james@develia.org>
+  revision [3686]
+  - in playlistwin_hide(), pass focus to the player main window only if it's visible
+  trunk/src/audacious/ui_playlist.c |    7 +++++--
+  1 file changed, 5 insertions(+), 2 deletions(-)
+
+
 2007-01-15 16:51:37 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [3684]
   - special case for no uri schema
--- a/src/audacious/ui_main.c	Mon Jan 15 09:18:27 2007 -0800
+++ b/src/audacious/ui_main.c	Mon Jan 15 09:48:56 2007 -0800
@@ -2515,10 +2515,6 @@
         gdk_draw_rectangle(nullmask, gc, TRUE, 0, 0, 20, 20);
         g_object_unref(gc);
         gtk_widget_shape_combine_mask(mainwin, nullmask, 0, 0);
-
-        gdk_window_set_hints(mainwin->window, 0, 0, 0, 0, 0, 0,
-                             GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE);
-        gdk_window_resize(mainwin->window, 0, 0);
     }
 
     gtk_widget_hide(mainwin);