ui/gtk/webview.c

changeset 973
aa39a986da78
parent 966
e411ed7c5f10
equal deleted inserted replaced
972:de69ed2c6961 973:aa39a986da78
58 if(value->value && value->type && !strcmp(value->type, UI_WEBVIEW_OBJECT_TYPE)) { 58 if(value->value && value->type && !strcmp(value->type, UI_WEBVIEW_OBJECT_TYPE)) {
59 ui_webview_set(value, value->value, UI_WEBVIEW_OBJECT_TYPE); 59 ui_webview_set(value, value->value, UI_WEBVIEW_OBJECT_TYPE);
60 } 60 }
61 } 61 }
62 62
63 ui_set_widget_groups(obj->ctx, webview, args->states); 63 ui_set_widget_states(obj->ctx, webview, args->states);
64 UiContainerPrivate *ct = (UiContainerPrivate*)obj->container_end; 64 UiContainerPrivate *ct = (UiContainerPrivate*)obj->container_end;
65 UiLayout layout = UI_ARGS2LAYOUT(args); 65 UiLayout layout = UI_ARGS2LAYOUT(args);
66 ct->add(ct, webview, &layout); 66 ct->add(ct, webview, &layout);
67 67
68 return webview; 68 return webview;

mercurial