eye-on-manga/src/interface.c
Tom Willemsen c34819ee2c Data
Data is gotten from an sqlite3 database
New series can be added to the database
2010-10-19 01:28:46 +02:00

27 lines
534 B
C

#include <hildon/hildon.h>
#include "interface.h"
#include "c-main-window.h"
#include "c-new-item-dialog.h"
#include "data.h"
void interface_show_main_window(void)
{
GtkWidget *window;
window = c_main_window_new();
gtk_widget_show_all(window);
c_main_window_load(C_MAIN_WINDOW(window));
}
GtkWidget *interface_show_new_item_dialog(GtkWindow *window)
{
GtkWidget *dialog;
dialog = c_new_item_dialog_new();
gtk_widget_show_all(dialog);
gtk_window_set_transient_for(GTK_WINDOW(dialog), window);
return dialog;
}