Lines 64-75
Link Here
|
64 |
static void |
64 |
static void |
65 |
edit_action_cb(GtkWidget *widget) |
65 |
edit_action_cb(GtkWidget *widget) |
66 |
{ |
66 |
{ |
67 |
gint selected_row; |
67 |
glong selected_row; |
68 |
gchar *col0_text, *col1_text; |
68 |
gchar *col0_text, *col1_text; |
69 |
gchar *new_name, *new_action; |
69 |
gchar *new_name, *new_action; |
70 |
|
70 |
|
71 |
if (GTK_CLIST(_actions_list)->selection != NULL) |
71 |
if (GTK_CLIST(_actions_list)->selection != NULL) |
72 |
selected_row = (gint)GTK_CLIST(_actions_list)->selection->data; |
72 |
selected_row = (glong)GTK_CLIST(_actions_list)->selection->data; |
73 |
else |
73 |
else |
74 |
return; |
74 |
return; |
75 |
|
75 |
|
Lines 106-115
Link Here
|
106 |
static void |
106 |
static void |
107 |
remove_action_cb(GtkWidget *widget) |
107 |
remove_action_cb(GtkWidget *widget) |
108 |
{ |
108 |
{ |
109 |
gint selected_row; |
109 |
glong selected_row; |
110 |
|
110 |
|
111 |
if (GTK_CLIST(_actions_list)->selection != NULL) |
111 |
if (GTK_CLIST(_actions_list)->selection != NULL) |
112 |
selected_row = (gint)GTK_CLIST(_actions_list)->selection->data; |
112 |
selected_row = (glong)GTK_CLIST(_actions_list)->selection->data; |
113 |
else |
113 |
else |
114 |
return; |
114 |
return; |
115 |
|
115 |
|
Lines 122-131
Link Here
|
122 |
static void |
122 |
static void |
123 |
set_default_action_cb(GtkWidget *widget) |
123 |
set_default_action_cb(GtkWidget *widget) |
124 |
{ |
124 |
{ |
125 |
gint selected_row; |
125 |
glong selected_row; |
126 |
|
126 |
|
127 |
if (GTK_CLIST(_actions_list)->selection != NULL) |
127 |
if (GTK_CLIST(_actions_list)->selection != NULL) |
128 |
selected_row = (gint)GTK_CLIST(_actions_list)->selection->data; |
128 |
selected_row = (glong)GTK_CLIST(_actions_list)->selection->data; |
129 |
else |
129 |
else |
130 |
return; |
130 |
return; |
131 |
|
131 |
|