Mercurial > geeqie
diff src/window.c @ 1175:2518a4a73d89
Rename wmsubclass and name to role, which corresponds better to the purpose of the parameter as it ends to be passed to gtk_window_set_role().
author | zas_ |
---|---|
date | Sun, 23 Nov 2008 16:16:09 +0000 |
parents | 0bea79d87065 |
children | dfa378900ec9 |
line wrap: on
line diff
--- a/src/window.c Sun Nov 23 16:10:29 2008 +0000 +++ b/src/window.c Sun Nov 23 16:16:09 2008 +0000 @@ -17,7 +17,7 @@ #include "ui_fileops.h" #include "ui_help.h" -GtkWidget *window_new(GtkWindowType type, const gchar *name, const gchar *icon, +GtkWidget *window_new(GtkWindowType type, const gchar *role, const gchar *icon, const gchar *icon_file, const gchar *subtitle) { gchar *title; @@ -39,7 +39,7 @@ g_free(title); window_set_icon(window, icon, icon_file); - gtk_window_set_role(GTK_WINDOW(window), name); + gtk_window_set_role(GTK_WINDOW(window), role); return window; }