diff pidgin/gtkutils.h @ 17166:92c3c2eeba87

Added to gtkutils.c: GtkWidget *pidgin_create_window(const char *title, guint border_width, const char *role, gboolean resizable);
author Gabriel Schulhof <nix@go-nix.ca>
date Fri, 18 May 2007 22:04:01 +0000
parents 72dc611f3257
children 6d0c16528aed
line wrap: on
line diff
--- a/pidgin/gtkutils.h	Thu May 17 22:04:49 2007 +0000
+++ b/pidgin/gtkutils.h	Fri May 18 22:04:01 2007 +0000
@@ -93,6 +93,16 @@
 GtkWidget *pidgin_create_imhtml(gboolean editable, GtkWidget **imhtml_ret, GtkWidget **toolbar_ret, GtkWidget **sw_ret);
 
 /**
+ * Creates a new window
+ *
+ * @param title        The window title, or @c NULL
+ * @param border_width The window's desired border width
+ * @param role         A string indicating what the window is responsible for doing, or @c NULL
+ * @param resizable    Whether the window should be resizable (@c TRUE) or not (@c FALSE)
+ */
+GtkWidget *pidgin_create_window(const char *title, guint border_width, const char *role, gboolean resizable);
+
+/**
  * Toggles the sensitivity of a widget.
  *
  * @param widget    @c NULL. Used for signal handlers.