ui/gtk/container.c

changeset 768
dc8e64b87e60
parent 766
8b984742f45b
child 783
25b2da0aac15
equal deleted inserted replaced
767:e5bda948a55f 768:dc8e64b87e60
1091 if(args->position_property) { 1091 if(args->position_property) {
1092 const char *pos_str = ui_get_property(args->position_property); 1092 const char *pos_str = ui_get_property(args->position_property);
1093 if(pos_str) { 1093 if(pos_str) {
1094 char *end; 1094 char *end;
1095 long pos = strtol(pos_str, &end, 10); 1095 long pos = strtol(pos_str, &end, 10);
1096 if(*end = '\0') { 1096 if(*end == '\0') {
1097 args->initial_position = (int)pos; 1097 args->initial_position = (int)pos;
1098 } 1098 }
1099 } 1099 }
1100 1100
1101 g_signal_connect( 1101 g_signal_connect(

mercurial