Lines 253-263
Link Here
|
253 |
static void |
253 |
static void |
254 |
edit_filetype_cb(GtkWidget *button, GtkWidget *clist) |
254 |
edit_filetype_cb(GtkWidget *button, GtkWidget *clist) |
255 |
{ |
255 |
{ |
256 |
gint selected_row; |
256 |
glong selected_row; |
257 |
FileType *ft; |
257 |
FileType *ft; |
258 |
|
258 |
|
259 |
if (GTK_CLIST(clist)->selection != NULL) |
259 |
if (GTK_CLIST(clist)->selection != NULL) |
260 |
selected_row = (gint)GTK_CLIST(clist)->selection->data; |
260 |
selected_row = (glong)GTK_CLIST(clist)->selection->data; |
261 |
else |
261 |
else |
262 |
return; |
262 |
return; |
263 |
|
263 |
|
Lines 299-305
Link Here
|
299 |
UserCommand *command; |
299 |
UserCommand *command; |
300 |
|
300 |
|
301 |
if (GTK_CLIST(clist)->selection != NULL) |
301 |
if (GTK_CLIST(clist)->selection != NULL) |
302 |
selected_row = (gint)GTK_CLIST(clist)->selection->data; |
302 |
selected_row = (glong)GTK_CLIST(clist)->selection->data; |
303 |
else |
303 |
else |
304 |
return; |
304 |
return; |
305 |
|
305 |
|
Lines 335-345
Link Here
|
335 |
static void |
335 |
static void |
336 |
edit_toolbar_button_cb(GtkWidget *widget, GtkWidget *clist) |
336 |
edit_toolbar_button_cb(GtkWidget *widget, GtkWidget *clist) |
337 |
{ |
337 |
{ |
338 |
gint selected_row; |
338 |
glong selected_row; |
339 |
ToolbarButton *tb; |
339 |
ToolbarButton *tb; |
340 |
|
340 |
|
341 |
if (GTK_CLIST(clist)->selection != NULL) |
341 |
if (GTK_CLIST(clist)->selection != NULL) |
342 |
selected_row = (gint)GTK_CLIST(clist)->selection->data; |
342 |
selected_row = (glong)GTK_CLIST(clist)->selection->data; |
343 |
else |
343 |
else |
344 |
return; |
344 |
return; |
345 |
|
345 |
|
Lines 391-402
Link Here
|
391 |
static void |
391 |
static void |
392 |
key_edit_cb(GtkWidget *widget, GtkWidget *clist) |
392 |
key_edit_cb(GtkWidget *widget, GtkWidget *clist) |
393 |
{ |
393 |
{ |
394 |
gint selected_row; |
394 |
glong selected_row; |
395 |
KeyBinding *kb; |
395 |
KeyBinding *kb; |
396 |
gchar mod[4]; |
396 |
gchar mod[4]; |
397 |
|
397 |
|
398 |
if (GTK_CLIST(clist)->selection != NULL) |
398 |
if (GTK_CLIST(clist)->selection != NULL) |
399 |
selected_row = (gint)GTK_CLIST(clist)->selection->data; |
399 |
selected_row = (glong)GTK_CLIST(clist)->selection->data; |
400 |
else |
400 |
else |
401 |
return; |
401 |
return; |
402 |
|
402 |
|
Lines 436-446
Link Here
|
436 |
static void |
436 |
static void |
437 |
edit_button_cb(GtkWidget *widget, GtkWidget *clist) |
437 |
edit_button_cb(GtkWidget *widget, GtkWidget *clist) |
438 |
{ |
438 |
{ |
439 |
gint selected_row; |
439 |
glong selected_row; |
440 |
Button *button; |
440 |
Button *button; |
441 |
|
441 |
|
442 |
if (GTK_CLIST(clist)->selection != NULL) |
442 |
if (GTK_CLIST(clist)->selection != NULL) |
443 |
selected_row = (gint)GTK_CLIST(clist)->selection->data; |
443 |
selected_row = (glong)GTK_CLIST(clist)->selection->data; |
444 |
else |
444 |
else |
445 |
return; |
445 |
return; |
446 |
|
446 |
|
Lines 513-522
Link Here
|
513 |
plugin_info_cb(GtkWidget *widget, GtkWidget *clist) |
513 |
plugin_info_cb(GtkWidget *widget, GtkWidget *clist) |
514 |
{ |
514 |
{ |
515 |
Plugin *p; |
515 |
Plugin *p; |
516 |
gint selected_row; |
516 |
glong selected_row; |
517 |
|
517 |
|
518 |
if (GTK_CLIST(clist)->selection != NULL) |
518 |
if (GTK_CLIST(clist)->selection != NULL) |
519 |
selected_row = (gint)GTK_CLIST(clist)->selection->data; |
519 |
selected_row = (glong)GTK_CLIST(clist)->selection->data; |
520 |
else |
520 |
else |
521 |
return; |
521 |
return; |
522 |
|
522 |
|
Lines 533-542
Link Here
|
533 |
remove_plugin_cb(GtkWidget *widget, GtkWidget *clist) |
533 |
remove_plugin_cb(GtkWidget *widget, GtkWidget *clist) |
534 |
{ |
534 |
{ |
535 |
Plugin *p; |
535 |
Plugin *p; |
536 |
gint selected_row; |
536 |
glong selected_row; |
537 |
|
537 |
|
538 |
if (GTK_CLIST(clist)->selection != NULL) |
538 |
if (GTK_CLIST(clist)->selection != NULL) |
539 |
selected_row = (gint)GTK_CLIST(clist)->selection->data; |
539 |
selected_row = (glong)GTK_CLIST(clist)->selection->data; |
540 |
else |
540 |
else |
541 |
return; |
541 |
return; |
542 |
|
542 |
|
Lines 661-670
Link Here
|
661 |
static void |
661 |
static void |
662 |
clist_up_cb(GtkWidget *widget, GtkWidget *clist) |
662 |
clist_up_cb(GtkWidget *widget, GtkWidget *clist) |
663 |
{ |
663 |
{ |
664 |
gint selected_row; |
664 |
glong selected_row; |
665 |
|
665 |
|
666 |
if (GTK_CLIST(clist)->selection != NULL) |
666 |
if (GTK_CLIST(clist)->selection != NULL) |
667 |
selected_row = (gint)GTK_CLIST(clist)->selection->data; |
667 |
selected_row = (glong)GTK_CLIST(clist)->selection->data; |
668 |
else |
668 |
else |
669 |
return; |
669 |
return; |
670 |
|
670 |
|
Lines 679-688
Link Here
|
679 |
static void |
679 |
static void |
680 |
clist_down_cb(GtkWidget *widget, GtkWidget *clist) |
680 |
clist_down_cb(GtkWidget *widget, GtkWidget *clist) |
681 |
{ |
681 |
{ |
682 |
gint selected_row; |
682 |
glong selected_row; |
683 |
|
683 |
|
684 |
if (GTK_CLIST(clist)->selection != NULL) |
684 |
if (GTK_CLIST(clist)->selection != NULL) |
685 |
selected_row = (gint)GTK_CLIST(clist)->selection->data; |
685 |
selected_row = (glong)GTK_CLIST(clist)->selection->data; |
686 |
else |
686 |
else |
687 |
return; |
687 |
return; |
688 |
|
688 |
|
Lines 696-705
Link Here
|
696 |
static void |
696 |
static void |
697 |
clist_remove_cb(GtkWidget *widget, GtkWidget *clist) |
697 |
clist_remove_cb(GtkWidget *widget, GtkWidget *clist) |
698 |
{ |
698 |
{ |
699 |
gint selected_row; |
699 |
glong selected_row; |
700 |
|
700 |
|
701 |
if (GTK_CLIST(clist)->selection != NULL) |
701 |
if (GTK_CLIST(clist)->selection != NULL) |
702 |
selected_row = (gint)GTK_CLIST(clist)->selection->data; |
702 |
selected_row = (glong)GTK_CLIST(clist)->selection->data; |
703 |
else |
703 |
else |
704 |
return; |
704 |
return; |
705 |
|
705 |
|
Lines 711-720
Link Here
|
711 |
config_clist_select_row_cb(GtkWidget *clist) |
711 |
config_clist_select_row_cb(GtkWidget *clist) |
712 |
{ |
712 |
{ |
713 |
GtkWidget *notebook; |
713 |
GtkWidget *notebook; |
714 |
gint page; |
714 |
glong page; |
715 |
|
715 |
|
716 |
if (GTK_CLIST(clist)->selection != NULL) |
716 |
if (GTK_CLIST(clist)->selection != NULL) |
717 |
page = (gint)GTK_CLIST(clist)->selection->data; |
717 |
page = (glong)GTK_CLIST(clist)->selection->data; |
718 |
else |
718 |
else |
719 |
return; |
719 |
return; |
720 |
|
720 |
|