summaryrefslogtreecommitdiff
path: root/media-sound/gamix/files/gamix-vlabel.patch
blob: 613cdb4568fac51950e7c212d98e0606cf73c413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff -ru gamix-1.99.p14/gamix2/conf_w.c gamix-1.99.p15/gamix2/conf_w.c
--- gamix-1.99.p14/gamix2/conf_w.c 2003-05-13 17:31:02.000000000 +0200
+++ gamix-1.99.p15/gamix2/conf_w.c 2008-07-08 22:11:28.000000000 +0200
@@ -66,6 +66,7 @@
 static int c_idlv=0;
 #endif
 
+#ifdef BROKEN_VLABEL
 GtkWidget *gtk_vlabel(const gchar *str) {
 #if GTK_CHECK_VERSION(2,0,0)
  PangoLayout *layout;
@@ -200,6 +201,13 @@
  gdk_gc_destroy(gc1);
  return pm;
 }
+#else
+GtkWidget *gtk_vlabel(const gchar *str) {
+  GtkWidget* label=gtk_label_new(str);
+  gtk_label_set_angle(label,270);
+  return label;
+}
+#endif
 
 static void close_win(GtkWidget *w,gpointer data) {
  gtk_grab_remove(c_win);