diff src/main.h @ 289:6a7298988a7a

Simplify and unify gtk_window creation with the help of the new window_new() function, that wraps gtk_window_new() call. Subclass, title and icon are set in the same call.
author zas_
date Wed, 09 Apr 2008 16:37:54 +0000
parents d1f74154463e
children b16b9b8979e5
line wrap: on
line diff
--- a/src/main.h	Wed Apr 09 13:53:01 2008 +0000
+++ b/src/main.h	Wed Apr 09 16:37:54 2008 +0000
@@ -243,6 +243,8 @@
  * This also doubles as the main.c header.
  */
 
+GtkWidget *window_new(GtkWindowType type, const gchar *name, const gchar *icon,
+		      const gchar *icon_file, const gchar *subtitle);
 void window_set_icon(GtkWidget *window, const gchar *icon, const gchar *file);
 gint window_maximized(GtkWidget *window);