diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-05-20 02:39:45 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-08-10 04:17:29 +0200 |
commit | f760538f17673c5bd7fec792be2f1abf8148fc32 (patch) | |
tree | 5945cb3c93f618e58eb6bdb519260ebfdcbb673f /gtk/gtkaccellabel.c | |
parent | 61e34032ec0365928824900ed256c4e57ce8dc6f (diff) | |
download | gtk+-f760538f17673c5bd7fec792be2f1abf8148fc32.tar.gz |
gtkaccellabel: Remove unused class members
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=97414
Diffstat (limited to 'gtk/gtkaccellabel.c')
-rw-r--r-- | gtk/gtkaccellabel.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c index 9193ea5bf1..716e8d7cd0 100644 --- a/gtk/gtkaccellabel.c +++ b/gtk/gtkaccellabel.c @@ -180,9 +180,6 @@ gtk_accel_label_class_init (GtkAccelLabelClass *class) #endif /* GDK_WINDOWING_QUARTZ */ - class->accel_seperator = g_strdup (" / "); - class->latin1_to_char = TRUE; - g_object_class_install_property (gobject_class, PROP_ACCEL_CLOSURE, g_param_spec_boxed ("accel-closure", @@ -802,8 +799,7 @@ _gtk_accel_label_class_get_accelerator_label (GtkAccelLabelClass *klass, g_string_append (gstring, klass->mod_separator); ch = gdk_keyval_to_unicode (accelerator_key); - if (ch && (g_unichar_isgraph (ch) || ch == ' ') && - (ch < 0x80 || klass->latin1_to_char)) + if (ch && ch < 0x80 && (g_unichar_isgraph (ch) || ch == ' ')) { switch (ch) { |