eel r2019 - in trunk: . eel



Author: alexl
Date: Wed Jan  9 14:49:34 2008
New Revision: 2019
URL: http://svn.gnome.org/viewvc/eel?rev=2019&view=rev

Log:
2008-01-09  Alexander Larsson  <alexl redhat com>

        * eel/eel-mount-operation.c:
	Update for gio API changes




Modified:
   trunk/ChangeLog
   trunk/eel/eel-mount-operation.c

Modified: trunk/eel/eel-mount-operation.c
==============================================================================
--- trunk/eel/eel-mount-operation.c	(original)
+++ trunk/eel/eel-mount-operation.c	Wed Jan  9 14:49:34 2008
@@ -104,9 +104,9 @@
 		anon = gnome_password_dialog_anon_selected (gpd);
 		g_mount_operation_set_anonymous (op, anon);
 
-		g_mount_operation_reply (op, FALSE);
+		g_mount_operation_reply (op, G_MOUNT_OPERATION_HANDLED);
 	} else {
-		g_mount_operation_reply (op, TRUE);
+		g_mount_operation_reply (op, G_MOUNT_OPERATION_ABORTED);
 	}
 
 	gtk_widget_destroy (GTK_WIDGET (dialog));
@@ -114,7 +114,7 @@
 	g_object_unref (op);
 }
 
-static gboolean
+static void
 ask_password (GMountOperation *op,
 	      const char      *message,
 	      const char      *default_user,
@@ -154,8 +154,6 @@
 	set_active (EEL_MOUNT_OPERATION (op), TRUE);
 	gtk_widget_show (GTK_WIDGET (dialog));
 	g_object_ref (op);
-	
-	return TRUE;
 }
 
 
@@ -166,9 +164,9 @@
 {
 	if (button_number >= 0) {
 		g_mount_operation_set_choice (op, button_number);
-		g_mount_operation_reply (op, FALSE);
+		g_mount_operation_reply (op, G_MOUNT_OPERATION_HANDLED);
 	} else {
-		g_mount_operation_reply (op, TRUE);
+		g_mount_operation_reply (op, G_MOUNT_OPERATION_ABORTED);
 	}
 	
 	gtk_widget_destroy (GTK_WIDGET (dialog));
@@ -177,7 +175,7 @@
 }
 
   
-static gboolean
+static void
 ask_question (GMountOperation *op,
 	      const char      *message,
 	      const char      *choices[])
@@ -210,8 +208,6 @@
 	gtk_widget_show (GTK_WIDGET (dialog));
 
 	g_object_ref (op);
-	
-	return TRUE;
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]