comparison src/adplug/adplug-xmms.cc @ 2239:224ebe9caaac

eliminate warnings
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Mon, 17 Dec 2007 18:35:35 +0900
parents b8da6a0b0da2
children ed6c81bd9016
comparison
equal deleted inserted replaced
2238:240bdf781ad0 2239:224ebe9caaac
137 gtk_label_set_justify (label, GTK_JUSTIFY_LEFT); 137 gtk_label_set_justify (label, GTK_JUSTIFY_LEFT);
138 gtk_misc_set_padding (GTK_MISC (label), 2, 2); 138 gtk_misc_set_padding (GTK_MISC (label), 2, 2);
139 return GTK_WIDGET (label); 139 return GTK_WIDGET (label);
140 } 140 }
141 141
142 #if 0
142 static void 143 static void
143 MessageBox (const char *title, const char *text, const char *button) 144 MessageBox (const char *title, const char *text, const char *button)
144 { 145 {
145 char *tmptitle = (char *) malloc (strlen (title) + 1), 146 char *tmptitle = (char *) malloc (strlen (title) + 1),
146 *tmptxt = (char *) malloc (strlen (text) + 1), 147 *tmptxt = (char *) malloc (strlen (text) + 1),
156 157
157 free (tmptitle); 158 free (tmptitle);
158 free (tmptxt); 159 free (tmptxt);
159 free (tmpbutton); 160 free (tmpbutton);
160 } 161 }
162 #endif
161 163
162 /***** Dialog boxes *****/ 164 /***** Dialog boxes *****/
163 165
164 static void 166 static void
165 adplug_about (void) 167 adplug_about (void)