Commit af515e2c authored by Jaka Mocnik's avatar Jaka Mocnik Committed by Jaka Mocnik
Browse files

changed PASTE_ALL to PASTE_ALL_TYPES. changed to work. I guess it is a bit


1998-08-14  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

        * src/clipboard.h: changed PASTE_ALL to PASTE_ALL_TYPES.
	* src/gnumeric-util.c (gtk_radio_group_get_selected):
	changed to work. I guess it is a bit weird trying to
        access a next member of an int.
parent 637759ae
1998-08-14 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
* src/clipboard.h: changed PASTE_ALL to PASTE_ALL_TYPES.
* src/gnumeric-util.c (gtk_radio_group_get_selected):
changed to work. I guess it is a bit weird trying to
access a next member of an int ;).
1998-08-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/workbook.c (workbook_set_region_status): Support going to a
......
1998-08-14 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
* src/clipboard.h: changed PASTE_ALL to PASTE_ALL_TYPES.
* src/gnumeric-util.c (gtk_radio_group_get_selected):
changed to work. I guess it is a bit weird trying to
access a next member of an int ;).
1998-08-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/workbook.c (workbook_set_region_status): Support going to a
......
1998-08-14 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
* src/clipboard.h: changed PASTE_ALL to PASTE_ALL_TYPES.
* src/gnumeric-util.c (gtk_radio_group_get_selected):
changed to work. I guess it is a bit weird trying to
access a next member of an int ;).
1998-08-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/workbook.c (workbook_set_region_status): Support going to a
......
1998-08-14 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
* src/clipboard.h: changed PASTE_ALL to PASTE_ALL_TYPES.
* src/gnumeric-util.c (gtk_radio_group_get_selected):
changed to work. I guess it is a bit weird trying to
access a next member of an int ;).
1998-08-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/workbook.c (workbook_set_region_status): Support going to a
......
......@@ -14,7 +14,7 @@ enum {
};
#define PASTE_ALL_TYPES (PASTE_FORMULAS | PASTE_VALUES | PASTE_FORMATS)
#define PASTE_DEFAULT PASTE_ALL
#define PASTE_DEFAULT PASTE_ALL_TYPES
#define PASTE_OP_MASK (PASTE_OP_ADD | PASTE_OP_SUB | PASTE_OP_MULT | PASTE_OP_DIV)
CellRegion *clipboard_copy_cell_range (Sheet *sheet,
......
......@@ -28,17 +28,15 @@ gnumeric_notice (char *str)
int
gtk_radio_group_get_selected (GSList *radio_group)
{
int i, l;
int i;
g_return_val_if_fail (radio_group != NULL, 0);
l = g_slist_length (radio_group);
for (i = 0, l = group_type; l; l = l->next, i++){
GtkRadioButton *button = l->data;
for (i = 0; radio_group; radio_group = radio_group->next, i++){
GtkRadioButton *button = radio_group->data;
if (GTK_TOGGLE_BUTTON (button)->active){
return l - i;
return i;
}
}
}
......@@ -28,17 +28,15 @@ gnumeric_notice (char *str)
int
gtk_radio_group_get_selected (GSList *radio_group)
{
int i, l;
int i;
g_return_val_if_fail (radio_group != NULL, 0);
l = g_slist_length (radio_group);
for (i = 0, l = group_type; l; l = l->next, i++){
GtkRadioButton *button = l->data;
for (i = 0; radio_group; radio_group = radio_group->next, i++){
GtkRadioButton *button = radio_group->data;
if (GTK_TOGGLE_BUTTON (button)->active){
return l - i;
return i;
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment