accelgroup: Drop some unused code

This commit is contained in:
Matthias Clasen 2020-05-25 20:55:26 -04:00
parent ec39ddee63
commit a55d179215

View File

@ -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)