projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
REGRESSION: Fix issues found by by review
[pspp]
/
src
/
ui
/
gui
/
psppire-window-base.c
diff --git
a/src/ui/gui/psppire-window-base.c
b/src/ui/gui/psppire-window-base.c
index 29c0fd7a5851e6119b12b52ad3c6d227b72ab63d..a9f73535dfd460b534f05bcf7cacb0063526f4cb 100644
(file)
--- a/
src/ui/gui/psppire-window-base.c
+++ b/
src/ui/gui/psppire-window-base.c
@@
-46,10
+46,7
@@
G_DEFINE_ABSTRACT_TYPE (PsppireWindowBase, psppire_window_base, GTK_TYPE_WINDOW)
static const char *
get_window_id (GtkWidget *wb)
{
- const gchar *name = NULL;
-
- g_object_get (wb, "name", &name, NULL);
-
+ const gchar *name = gtk_widget_get_name (wb);
if (NULL == name || 0 == strcmp ("", name))
name = G_OBJECT_TYPE_NAME (wb);