changeset 2257:af716dc0cdb9 trunk

[svn] - do not create GtkAccelGroup anymore; use ui_manager_get_accel_group to get accelerator groups from ui_manager
author giacomo
date Thu, 04 Jan 2007 03:58:58 -0800
parents b09db7afa2ef
children 2c66f4fe9cfa
files ChangeLog audacious/ui_main.c audacious/ui_playlist.c
diffstat 3 files changed, 9 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jan 04 01:25:00 2007 -0800
+++ b/ChangeLog	Thu Jan 04 03:58:58 2007 -0800
@@ -1,3 +1,11 @@
+2007-01-04 09:25:00 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [3517]
+  - somehow playlist_container.h got expunged from the SDK distribution.
+  
+  trunk/audacious/Makefile |    1 +
+  1 file changed, 1 insertion(+)
+
+
 2007-01-03 23:02:53 +0000  Kiyoshi Aman <kiyoshi.aman@gmail.com>
   revision [3515]
   Update libaudacious copyright notices
--- a/audacious/ui_main.c	Thu Jan 04 01:25:00 2007 -0800
+++ b/audacious/ui_main.c	Thu Jan 04 03:58:58 2007 -0800
@@ -123,8 +123,6 @@
 GdkGC *mainwin_gc;
 static GdkPixmap *mainwin_bg = NULL, *mainwin_bg_x2 = NULL;
 
-GtkAccelGroup *mainwin_accel = NULL;
-
 static PButton *mainwin_menubtn;
 static PButton *mainwin_minimize, *mainwin_shade, *mainwin_close;
 
@@ -3480,7 +3478,6 @@
 {
     mainwin_create_window();
 
-    mainwin_accel = gtk_accel_group_new();
     gtk_window_add_accel_group( GTK_WINDOW(mainwin) , ui_manager_get_accel_group() );
 
     mainwin_gc = gdk_gc_new(mainwin->window);
--- a/audacious/ui_playlist.c	Thu Jan 04 01:25:00 2007 -0800
+++ b/audacious/ui_playlist.c	Thu Jan 04 03:58:58 2007 -0800
@@ -66,8 +66,6 @@
 static GdkBitmap *playlistwin_mask = NULL;
 static GdkGC *playlistwin_gc;
 
-static GtkAccelGroup *playlistwin_accel;
-
 static gboolean playlistwin_hint_flag = FALSE;
 
 static PlaylistSlider *playlistwin_slider = NULL;
@@ -1789,7 +1787,7 @@
     playlistwin_create_widgets();
     playlistwin_update_info(playlist_get_active());
 
-    gtk_window_add_accel_group(GTK_WINDOW(playlistwin), mainwin_accel);
+    gtk_window_add_accel_group(GTK_WINDOW(playlistwin), ui_manager_get_accel_group());
 }