gnome-control-center r8841 - trunk/capplets/sound
- From: jensg svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r8841 - trunk/capplets/sound
- Date: Wed, 6 Aug 2008 18:35:47 +0000 (UTC)
Author: jensg
Date: Wed Aug 6 18:35:47 2008
New Revision: 8841
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=8841&view=rev
Log:
2008-08-06 Jens Granseuer <jensgr gmx net>
* sound-properties-capplet.c: (create_dialog): fix warning due to
left-over developer code (bug #546583)
Modified:
trunk/capplets/sound/ChangeLog
trunk/capplets/sound/sound-properties-capplet.c
Modified: trunk/capplets/sound/sound-properties-capplet.c
==============================================================================
--- trunk/capplets/sound/sound-properties-capplet.c (original)
+++ trunk/capplets/sound/sound-properties-capplet.c Wed Aug 6 18:35:47 2008
@@ -118,12 +118,9 @@
GladeXML *dialog;
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);
- if (dialog == NULL)
- return NULL;
- }
+ dialog = glade_xml_new (GNOMECC_GLADE_DIR "/sound-properties.glade", "sound_prefs_dialog", NULL);
+ if (dialog == NULL)
+ return NULL;
image = gtk_image_new_from_stock (GTK_STOCK_APPLY, GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (WID ("sounds_playback_test")), image);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]