1
0
Fork 0
forked from Miroirs/x49gp

make it compile with gtk+-3.0

This commit is contained in:
Gwenhael Le Moine 2024-11-06 12:45:23 +01:00
parent 4145b7af07
commit e57e595d99
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -1459,7 +1459,7 @@ static gboolean react_to_key_event( GtkWidget* widget, GdkEventKey* event, gpoin
case GDK_KEY_period:
case GDK_KEY_comma:
case GDK_KEY_KP_Decimal:
case GDK_KP_Separator:
case GDK_KEY_KP_Separator:
index = 48;
break;
case GDK_KEY_space:
@ -1949,7 +1949,7 @@ static int ui_load( x49gp_module_t* module, GKeyFile* keyfile )
button->button = gtk_button_new();
gtk_widget_set_size_request( button->button, button->key->width, button->key->height );
gtk_widget_set( button->button, "can-focus", false, NULL );
gtk_widget_set_can_focus( button->button, false );
ui_load__style_button( ui, button );