]> git.0d.be Git - empathy.git/blobdiff - src/empathy-logs.c
Merge branch 'debug-window'
[empathy.git] / src / empathy-logs.c
index 3763ab279f925c6f8aa5b117ac065e6b951811f6..b9f38e0e7faabba9993193c3492a7eaf5b015f8e 100644 (file)
  *
  * You should have received a copy of the GNU General Public
  * License along with this program; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- * 
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA  02110-1301  USA
+ *
  * Authors: Xavier Claessens <xclaesse@gmail.com>
  */
 
 #include <config.h>
-
-#include <string.h>
 #include <stdlib.h>
-
 #include <glib.h>
 #include <gtk/gtk.h>
 
+#include <libempathy/empathy-debug.h>
 #include <libempathy-gtk/empathy-log-window.h>
+#include <libempathy-gtk/empathy-ui-utils.h>
 
 static void
 destroy_cb (GtkWidget *dialog,
@@ -42,10 +41,12 @@ main (int argc, char *argv[])
 {
        GtkWidget *window;
 
+       g_thread_init (NULL);
        gtk_init (&argc, &argv);
+       empathy_gtk_init ();
+       g_set_application_name (PACKAGE_NAME);
+       gtk_window_set_default_icon_name ("empathy");
 
-       gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
-                                          PKGDATADIR G_DIR_SEPARATOR_S "icons");
        window = empathy_log_window_show (NULL, NULL, FALSE, NULL);
 
        g_signal_connect (window, "destroy",