changeset 1642:3d3b60e66491 trunk

[svn] - use gdk_drawable_get_size() instead
author nenolod
date Thu, 07 Sep 2006 18:33:19 -0700
parents cc8adbb45446
children 1a525bd78cf0
files ChangeLog audacious/widgets/skin.c
diffstat 2 files changed, 10 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Sep 07 17:27:27 2006 -0700
+++ b/ChangeLog	Thu Sep 07 18:33:19 2006 -0700
@@ -1,3 +1,12 @@
+2006-09-08 00:27:27 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2213]
+  - use smartinclude here instead of conditional-based imports
+  
+
+  Changes:        Modified:
+  +1 -6           trunk/audacious/widgets/skin.c  
+
+
 2006-09-08 00:25:29 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2211]
   - gtkquartz compatibility, pass 1
--- a/audacious/widgets/skin.c	Thu Sep 07 17:27:27 2006 -0700
+++ b/audacious/widgets/skin.c	Thu Sep 07 18:33:19 2006 -0700
@@ -369,7 +369,7 @@
 
     g_free(filename);
 
-    gdk_window_get_size(gpm, &width, &height);
+    gdk_drawable_get_size(GDK_DRAWABLE(gpm), &width, &height);
     pm = &skin->pixmaps[id];
     pm->pixmap = gpm;
     pm->width = width;
@@ -1252,13 +1252,3 @@
     skin_draw_pixmap(skin, drawable, gc, SKIN_TITLEBAR, 27, y_offset,
                      0, 0, MAINWIN_WIDTH, MAINWIN_TITLEBAR_HEIGHT);
 }
-
-#if 0
-void
-skin_draw_mainwin(Skin * skin,
-                  GdkDrawable * drawable, GdkGC gc,
-                  gboolean doublesize, gboolean shaded, gboolean focus)
-{
-
-}
-#endif