gimp r25094 - trunk/plug-ins/uri
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25094 - trunk/plug-ins/uri
- Date: Wed, 12 Mar 2008 16:23:12 +0000 (GMT)
Author: neo
Date: Wed Mar 12 16:23:11 2008
New Revision: 25094
URL: http://svn.gnome.org/viewvc/gimp?rev=25094&view=rev
Log:
fixed mount_operation_anon_toggled()
Modified:
trunk/plug-ins/uri/uri-backend-gio.c
Modified: trunk/plug-ins/uri/uri-backend-gio.c
==============================================================================
--- trunk/plug-ins/uri/uri-backend-gio.c (original)
+++ trunk/plug-ins/uri/uri-backend-gio.c Wed Mar 12 16:23:11 2008
@@ -393,17 +393,12 @@
}
static void
-mount_operation_anon_toggled (GtkWidget *button,
- MountOperation *operation)
+mount_operation_anon_toggled (GtkToggleButton *button,
+ MountOperation *operation)
{
if (operation->username_entry)
- {
- gboolean active;
-
- active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button));
-
- gtk_widget_set_sensitive (operation->username_entry, active);
- }
+ gtk_widget_set_sensitive (operation->username_entry,
+ ! gtk_toggle_button_get_active (button));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]