Mercurial > pidgin.yaz
diff pidgin/gtkconv.c @ 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 | 80350acaa289 |
children | 68f634d5f5f5 |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Thu May 17 22:04:49 2007 +0000 +++ b/pidgin/gtkconv.c Fri May 18 22:04:01 2007 +0000 @@ -8025,10 +8025,7 @@ window_list = g_list_append(window_list, win); /* Create the window. */ - win->window = gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_role(GTK_WINDOW(win->window), "conversation"); - gtk_window_set_resizable(GTK_WINDOW(win->window), TRUE); - gtk_container_set_border_width(GTK_CONTAINER(win->window), 0); + win->window = pidgin_create_window(NULL, 0, "conversation", TRUE); GTK_WINDOW(win->window)->allow_shrink = TRUE; if (available_list == NULL) {