]> git.0d.be Git - empathy.git/blobdiff - tests/interactive/test-empathy-status-preset-dialog.c
Use a flat namespace for internal includes
[empathy.git] / tests / interactive / test-empathy-status-preset-dialog.c
index 6602e4f283767b9aefb0a1b97b6cb25dff4cf4fa..db9cd361d921c1e0810e407b4facb971fcbb1234 100644 (file)
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  *
- * Authors: Davyd Madeley <davyd.madeley@collabora.co.uk>
+ * Authors:
+ *   Danielle Madeley <danielle.madeley@collabora.co.uk>
+ *   Will Thompson <will.thompson@collabora.co.uk>
  */
 
 #include <config.h>
 
 #include <gtk/gtk.h>
 
-#include <libempathy/empathy-status-presets.h>
+#include "empathy-status-presets.h"
 
-#include <libempathy-gtk/empathy-ui-utils.h>
-#include <libempathy-gtk/empathy-status-preset-dialog.h>
+#include "empathy-ui-utils.h"
+#include "empathy-status-preset-dialog.h"
 
 int
 main (int argc, char **argv)
@@ -40,10 +42,7 @@ main (int argc, char **argv)
        empathy_status_presets_get_all ();
 
        dialog = empathy_status_preset_dialog_new (NULL);
-
-       gtk_widget_show (dialog);
-
-       gtk_main ();
+       gtk_dialog_run (GTK_DIALOG (dialog));
 
        return 0;
 }