[seahorse/refactor: 18/33] Update import dialog for libgcr changes



commit 6cd28c24fe9c1de38473f6c971f28e5d4569a700
Author: Stef Walter <stefw collabora co uk>
Date:   Thu Oct 6 14:51:30 2011 +0200

    Update import dialog for libgcr changes

 src/seahorse-import-dialog.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/seahorse-import-dialog.c b/src/seahorse-import-dialog.c
index fb3fd2a..1d5954a 100644
--- a/src/seahorse-import-dialog.c
+++ b/src/seahorse-import-dialog.c
@@ -44,11 +44,11 @@ G_DEFINE_TYPE (SeahorseImportDialog, seahorse_import_dialog, GTK_TYPE_DIALOG);
 static void
 on_viewer_renderer_added (GcrViewerWidget *viewer,
                           GcrRenderer *renderer,
-                          GcrParser *parser,
+                          GcrParsed *parsed,
                           gpointer user_data)
 {
 	SeahorseImportDialog *self = SEAHORSE_IMPORT_DIALOG (user_data);
-	gcr_import_button_add_parsed (self->import, parser);
+	gcr_import_button_add_parsed (self->import, parsed);
 }
 
 static void
@@ -153,5 +153,6 @@ seahorse_import_dialog_add_text (SeahorseImportDialog *self,
 	g_return_if_fail (SEAHORSE_IS_IMPORT_DIALOG (self));
 	g_return_if_fail (text != NULL);
 	gcr_viewer_widget_load_data (self->viewer, display_name,
-	                             text, strlen (text));
+	                             (const guchar *)text,
+	                             strlen (text));
 }



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