| 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( |