Mercurial > geeqie
diff src/utilops.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 | 3ff2aa99108b |
line wrap: on
line diff
--- a/src/utilops.c Sun Nov 23 16:10:29 2008 +0000 +++ b/src/utilops.c Sun Nov 23 16:16:09 2008 +0000 @@ -152,13 +152,13 @@ */ GenericDialog *file_util_gen_dlg(const gchar *title, - const gchar *wmsubclass, + const gchar *role, GtkWidget *parent, gint auto_close, void (*cancel_cb)(GenericDialog *, gpointer), gpointer data) { GenericDialog *gd; - gd = generic_dialog_new(title, wmsubclass, parent, auto_close, cancel_cb, data); + gd = generic_dialog_new(title, role, parent, auto_close, cancel_cb, data); if (options->place_dialogs_under_mouse) { gtk_window_set_position(GTK_WINDOW(gd->dialog), GTK_WIN_POS_MOUSE); @@ -168,13 +168,13 @@ } FileDialog *file_util_file_dlg(const gchar *title, - const gchar *wmsubclass, + const gchar *role, GtkWidget *parent, void (*cancel_cb)(FileDialog *, gpointer), gpointer data) { FileDialog *fdlg; - fdlg = file_dialog_new(title, wmsubclass, parent, cancel_cb, data); + fdlg = file_dialog_new(title, role, parent, cancel_cb, data); if (options->place_dialogs_under_mouse) { gtk_window_set_position(GTK_WINDOW(GENERIC_DIALOG(fdlg)->dialog), GTK_WIN_POS_MOUSE);