[glib-demo] Do not try to get info about remote destinations
diff --git a/glib/demo/utils.c b/glib/demo/utils.c
index e6d06c8..5fd0a10 100644
--- a/glib/demo/utils.c
+++ b/glib/demo/utils.c
@@ -82,6 +82,7 @@
 pgd_action_view_add_destination (GtkWidget   *action_view,
 				 GtkTable    *table,
 				 PopplerDest *dest,
+				 gboolean     remote,
 				 gint        *row)
 {
 	PopplerDocument *document;
@@ -98,7 +99,7 @@
 	if (dest->type != POPPLER_DEST_NAMED) {
 		str = NULL;
 		
-		if (document) {
+		if (document && !remote) {
 			PopplerPage *poppler_page;
 			gchar       *page_label;
 			
@@ -140,7 +141,7 @@
 	} else {
 		pgd_table_add_property (table, "<b>Named Dest:</b>", dest->named_dest, row);
 
-		if (document) {
+		if (document && !remote) {
 			PopplerDest *new_dest;
 
 			new_dest = poppler_document_find_dest (document, dest->named_dest);
@@ -158,7 +159,7 @@
 				gtk_widget_show (alignment);
 				
 				pgd_action_view_add_destination (action_view, GTK_TABLE (new_table),
-								 new_dest, &new_row);
+								 new_dest, FALSE, &new_row);
 				poppler_dest_free (new_dest);
 
 				gtk_container_add (GTK_CONTAINER (alignment), new_table);
@@ -205,12 +206,12 @@
 		pgd_table_add_property (GTK_TABLE (table), "<b>Type:</b>", "None", &row);
 		break;
 	case POPPLER_ACTION_GOTO_DEST:
-		pgd_action_view_add_destination (action_view, GTK_TABLE (table), action->goto_dest.dest, &row);
+		pgd_action_view_add_destination (action_view, GTK_TABLE (table), action->goto_dest.dest, FALSE, &row);
 		break;
 	case POPPLER_ACTION_GOTO_REMOTE:
 		pgd_table_add_property (GTK_TABLE (table), "<b>Type:</b>", "Remote Destination", &row);
 		pgd_table_add_property (GTK_TABLE (table), "<b>Filename:</b>", action->goto_remote.file_name, &row);
-		pgd_action_view_add_destination (action_view, GTK_TABLE (table), action->goto_remote.dest, &row);
+		pgd_action_view_add_destination (action_view, GTK_TABLE (table), action->goto_remote.dest, TRUE, &row);
 		break;
 	case POPPLER_ACTION_LAUNCH:
 		pgd_table_add_property (GTK_TABLE (table), "<b>Type:</b>", "Launch", &row);