forked from AuroraMiddleware/gtk
accelgroup: Drop some unused code
This commit is contained in:
parent
ec39ddee63
commit
a55d179215
@ -540,9 +540,6 @@ gtk_accelerator_name_with_keycode (GdkDisplay *display,
|
||||
{
|
||||
gchar *gtk_name;
|
||||
|
||||
if (display == NULL)
|
||||
display = gdk_display_manager_get_default_display (gdk_display_manager_get ());
|
||||
|
||||
gtk_name = gtk_accelerator_name (accelerator_key, accelerator_mods);
|
||||
|
||||
if (!accelerator_key)
|
||||
@ -658,9 +655,6 @@ gtk_accelerator_get_label_with_keycode (GdkDisplay *display,
|
||||
{
|
||||
gchar *gtk_label;
|
||||
|
||||
if (display == NULL)
|
||||
display = gdk_display_manager_get_default_display (gdk_display_manager_get ());
|
||||
|
||||
gtk_label = gtk_accelerator_get_label (accelerator_key, accelerator_mods);
|
||||
|
||||
if (!accelerator_key)
|
||||
|
Loading…
Reference in New Issue
Block a user