aboutsummaryrefslogtreecommitdiffstats
path: root/shell/importer/intelligent.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-05-10 03:55:04 +0800
committerChris Lahey <clahey@src.gnome.org>2001-05-10 03:55:04 +0800
commit33b9baa06344722188b76e54e9396b9a322b9ddf (patch)
tree9d7d75f95953ca70f9d05fafa15b484da7eafcf9 /shell/importer/intelligent.c
parentac299fc8867f93856cf468ef6a971053ba4cc8a0 (diff)
downloadgsoc2013-evolution-33b9baa06344722188b76e54e9396b9a322b9ddf.tar
gsoc2013-evolution-33b9baa06344722188b76e54e9396b9a322b9ddf.tar.gz
gsoc2013-evolution-33b9baa06344722188b76e54e9396b9a322b9ddf.tar.bz2
gsoc2013-evolution-33b9baa06344722188b76e54e9396b9a322b9ddf.tar.lz
gsoc2013-evolution-33b9baa06344722188b76e54e9396b9a322b9ddf.tar.xz
gsoc2013-evolution-33b9baa06344722188b76e54e9396b9a322b9ddf.tar.zst
gsoc2013-evolution-33b9baa06344722188b76e54e9396b9a322b9ddf.zip
Made this function static. Removed the unused variable placeholder.
2001-05-09 Christopher James Lahey <clahey@ximian.com> * importer/intelligent.c (create_gui): Made this function static. Removed the unused variable placeholder. (intelligent_importer_init): Cast from gpointer to int here properly using GPOINTER_TO_INT. svn path=/trunk/; revision=9730
Diffstat (limited to 'shell/importer/intelligent.c')
-rw-r--r--shell/importer/intelligent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/importer/intelligent.c b/shell/importer/intelligent.c
index d9589df676..528b98159b 100644
--- a/shell/importer/intelligent.c
+++ b/shell/importer/intelligent.c
@@ -174,10 +174,10 @@ unselect_row_cb (GtkCList *clist,
gtk_notebook_set_page (GTK_NOTEBOOK (d->placeholder), d->running);
}
-IntelligentImporterDialog *
+static IntelligentImporterDialog *
create_gui (GList *importers)
{
- GtkWidget *dialog, *clist, *placeholder, *sw;
+ GtkWidget *dialog, *clist, *sw;
IntelligentImporterDialog *d;
GList *l;
int running = 0;
@@ -368,7 +368,7 @@ intelligent_importer_init (void)
CORBA_Environment ev;
char *iid;
- data = g_list_nth_data (d->importers, l->data);
+ data = g_list_nth_data (d->importers, GPOINTER_TO_INT (l->data));
iid = g_strdup (data->iid);
new_data = g_new (SelectedImporterData, 1);