fix warning due to left-over developer code (bug #546583)

2008-08-06  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties-capplet.c: (create_dialog): fix warning due to
	left-over developer code (bug #546583)

svn path=/trunk/; revision=8841
This commit is contained in:
Jens Granseuer 2008-08-06 18:35:47 +00:00 committed by Jens Granseuer
parent 6fa37863fd
commit 330fd8c42f
2 changed files with 8 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2008-08-06 Jens Granseuer <jensgr@gmx.net>
* sound-properties-capplet.c: (create_dialog): fix warning due to
left-over developer code (bug #546583)
2008-08-04 Rodrigo Moya <rodrigo@gnome-db.org> 2008-08-04 Rodrigo Moya <rodrigo@gnome-db.org>
* Makefile.am: added missing file to _SOURCES. * Makefile.am: added missing file to _SOURCES.

View file

@ -118,12 +118,9 @@ create_dialog (void)
GladeXML *dialog; GladeXML *dialog;
GtkWidget *image; GtkWidget *image;
dialog = glade_xml_new ("sound-properties.glade", "sound_prefs_dialog", NULL);
if (dialog == NULL) {
dialog = glade_xml_new (GNOMECC_GLADE_DIR "/sound-properties.glade", "sound_prefs_dialog", NULL); dialog = glade_xml_new (GNOMECC_GLADE_DIR "/sound-properties.glade", "sound_prefs_dialog", NULL);
if (dialog == NULL) if (dialog == NULL)
return NULL; return NULL;
}
image = gtk_image_new_from_stock (GTK_STOCK_APPLY, GTK_ICON_SIZE_BUTTON); image = gtk_image_new_from_stock (GTK_STOCK_APPLY, GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (WID ("sounds_playback_test")), image); gtk_button_set_image (GTK_BUTTON (WID ("sounds_playback_test")), image);