2 * vim:ts=4:sw=4:et:cindent:cino=(0
5 #include <hildon-cp-plugin/hildon-cp-plugin-interface.h>
8 GtkWidget *create_dialog (GtkWindow *parent)
12 dialog = gtk_dialog_new_with_buttons
15 GTK_DIALOG_MODAL | GTK_DIALOG_NO_SEPARATOR,
26 osso_return_t execute (osso_context_t *osso, gpointer data,
27 gboolean user_activated)
32 dialog = create_dialog (GTK_WINDOW (data));
33 response = gtk_dialog_run (GTK_DIALOG (dialog));
34 if (response == GTK_RESPONSE_OK)
38 gtk_widget_destroy (GTK_WIDGET (dialog));