ui/gtk/dnd.c

changeset 29
3fc287f06305
parent 0
2483f517c562
equal deleted inserted replaced
28:1ecc1183f046 29:3fc287f06305
53 } 53 }
54 #define gtk_selection_data_set_uris selection_data_set_uris 54 #define gtk_selection_data_set_uris selection_data_set_uris
55 #define gtk_selection_data_get_uris selection_data_get_uris 55 #define gtk_selection_data_get_uris selection_data_get_uris
56 #endif 56 #endif
57 57
58 /*
58 void ui_selection_settext(UiSelection *sel, char *str, int len) { 59 void ui_selection_settext(UiSelection *sel, char *str, int len) {
59 // TODO: handle error? 60 // TODO: handle error?
60 gtk_selection_data_set_text(sel->data, str, len); 61 gtk_selection_data_set_text(sel->data, str, len);
61 } 62 }
62 63
97 g_strfreev(uris); 98 g_strfreev(uris);
98 return array; 99 return array;
99 } 100 }
100 return NULL; 101 return NULL;
101 } 102 }
103 */

mercurial