drun ported to the new widget builder API

This commit is contained in:
Scoopta
2020-06-29 21:23:36 -07:00
parent b933c0c855
commit 1ed2445bd4
6 changed files with 129 additions and 110 deletions

View File

@@ -29,6 +29,4 @@ struct widget_builder {
size_t actions;
};
void wofi_free_widget_builder(struct widget_builder* builder);
#endif

View File

@@ -30,7 +30,7 @@ void wofi_widget_builder_set_search_text(struct widget_builder* builder, char* s
void wofi_widget_builder_set_action(struct widget_builder* builder, char* action);
void wofi_widget_builder_insert_text(struct widget_builder* builder, char* text, char* css_name);
void wofi_widget_builder_insert_text(struct widget_builder* builder, const char* text, char* css_name);
void wofi_widget_builder_insert_image(struct widget_builder* builder, GdkPixbuf* pixbuf, char* css_name);
@@ -38,4 +38,6 @@ struct widget_builder* wofi_widget_builder_get_idx(struct widget_builder* builde
struct widget* wofi_widget_builder_get_widget(struct widget_builder* builder);
void wofi_free_widget_builder(struct widget_builder* builder);
#endif