ui/gtk/label.c

changeset 100
d276306d801f
parent 94
d51e334c1439
child 140
c03c338a7dcf
equal deleted inserted replaced
99:ea1a2d5de765 100:d276306d801f
64 64
65 return widget; 65 return widget;
66 } 66 }
67 67
68 UIWIDGET ui_separator(UiObject *obj) { 68 UIWIDGET ui_separator(UiObject *obj) {
69 #if UI_GTK3
69 GtkWidget *widget = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL); 70 GtkWidget *widget = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
71 #else
72 GtkWidget *widget = gtk_hseparator_new();
73 #endif
70 UiContainer *ct = uic_get_current_container(obj); 74 UiContainer *ct = uic_get_current_container(obj);
71 ct->add(ct, widget, FALSE); 75 ct->add(ct, widget, FALSE);
72 76
73 return widget; 77 return widget;
74 } 78 }

mercurial