--- config_dialog.c.orig 2005-12-07 18:57:23.000000000 -0700 +++ config_dialog.c 2005-12-07 19:06:27.000000000 -0700 @@ -253,11 +253,11 @@ static void edit_filetype_cb(GtkWidget *button, GtkWidget *clist) { - gint selected_row; + glong selected_row; FileType *ft; if (GTK_CLIST(clist)->selection != NULL) - selected_row = (gint)GTK_CLIST(clist)->selection->data; + selected_row = (glong)GTK_CLIST(clist)->selection->data; else return; @@ -299,7 +299,7 @@ UserCommand *command; if (GTK_CLIST(clist)->selection != NULL) - selected_row = (gint)GTK_CLIST(clist)->selection->data; + selected_row = (glong)GTK_CLIST(clist)->selection->data; else return; @@ -335,11 +335,11 @@ static void edit_toolbar_button_cb(GtkWidget *widget, GtkWidget *clist) { - gint selected_row; + glong selected_row; ToolbarButton *tb; if (GTK_CLIST(clist)->selection != NULL) - selected_row = (gint)GTK_CLIST(clist)->selection->data; + selected_row = (glong)GTK_CLIST(clist)->selection->data; else return; @@ -391,12 +391,12 @@ static void key_edit_cb(GtkWidget *widget, GtkWidget *clist) { - gint selected_row; + glong selected_row; KeyBinding *kb; gchar mod[4]; if (GTK_CLIST(clist)->selection != NULL) - selected_row = (gint)GTK_CLIST(clist)->selection->data; + selected_row = (glong)GTK_CLIST(clist)->selection->data; else return; @@ -436,11 +436,11 @@ static void edit_button_cb(GtkWidget *widget, GtkWidget *clist) { - gint selected_row; + glong selected_row; Button *button; if (GTK_CLIST(clist)->selection != NULL) - selected_row = (gint)GTK_CLIST(clist)->selection->data; + selected_row = (glong)GTK_CLIST(clist)->selection->data; else return; @@ -513,10 +513,10 @@ plugin_info_cb(GtkWidget *widget, GtkWidget *clist) { Plugin *p; - gint selected_row; + glong selected_row; if (GTK_CLIST(clist)->selection != NULL) - selected_row = (gint)GTK_CLIST(clist)->selection->data; + selected_row = (glong)GTK_CLIST(clist)->selection->data; else return; @@ -533,10 +533,10 @@ remove_plugin_cb(GtkWidget *widget, GtkWidget *clist) { Plugin *p; - gint selected_row; + glong selected_row; if (GTK_CLIST(clist)->selection != NULL) - selected_row = (gint)GTK_CLIST(clist)->selection->data; + selected_row = (glong)GTK_CLIST(clist)->selection->data; else return; @@ -661,10 +661,10 @@ static void clist_up_cb(GtkWidget *widget, GtkWidget *clist) { - gint selected_row; + glong selected_row; if (GTK_CLIST(clist)->selection != NULL) - selected_row = (gint)GTK_CLIST(clist)->selection->data; + selected_row = (glong)GTK_CLIST(clist)->selection->data; else return; @@ -679,10 +679,10 @@ static void clist_down_cb(GtkWidget *widget, GtkWidget *clist) { - gint selected_row; + glong selected_row; if (GTK_CLIST(clist)->selection != NULL) - selected_row = (gint)GTK_CLIST(clist)->selection->data; + selected_row = (glong)GTK_CLIST(clist)->selection->data; else return; @@ -696,10 +696,10 @@ static void clist_remove_cb(GtkWidget *widget, GtkWidget *clist) { - gint selected_row; + glong selected_row; if (GTK_CLIST(clist)->selection != NULL) - selected_row = (gint)GTK_CLIST(clist)->selection->data; + selected_row = (glong)GTK_CLIST(clist)->selection->data; else return; @@ -711,10 +711,10 @@ config_clist_select_row_cb(GtkWidget *clist) { GtkWidget *notebook; - gint page; + glong page; if (GTK_CLIST(clist)->selection != NULL) - page = (gint)GTK_CLIST(clist)->selection->data; + page = (glong)GTK_CLIST(clist)->selection->data; else return;