diff options
author | zhuyaliang <[email protected]> | 2021-07-22 07:56:02 +0800 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2021-07-28 12:11:37 -0400 |
commit | 99d2942c83b8e1f2c0278bff284543c5ba825c23 (patch) | |
tree | 87d7eb7549891662705623b2719b0441b8a2ce99 /libslab | |
parent | 814f67295ea86a7a33c673691714809b1580d7d2 (diff) | |
download | mate-control-center-99d2942c83b8e1f2c0278bff284543c5ba825c23.tar.bz2 mate-control-center-99d2942c83b8e1f2c0278bff284543c5ba825c23.tar.xz |
Replace the deprecated gtk_widget_set_state with gtk_widget_set_state_flags
Diffstat (limited to 'libslab')
-rw-r--r-- | libslab/app-shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libslab/app-shell.c b/libslab/app-shell.c index 3cebc120..6b421c74 100644 --- a/libslab/app-shell.c +++ b/libslab/app-shell.c @@ -464,7 +464,7 @@ populate_groups_section (AppShellData * app_data) CategoryData *data = (CategoryData *) cat_list->data; if (NULL != data->filtered_launcher_list) { - gtk_widget_set_state (GTK_WIDGET (data->group_launcher), GTK_STATE_NORMAL); + gtk_widget_set_state_flags (GTK_WIDGET (data->group_launcher), GTK_STATE_FLAG_NORMAL, FALSE); gtk_box_pack_start (vbox, GTK_WIDGET (data->group_launcher), FALSE, FALSE, 0); } @@ -623,7 +623,7 @@ generate_filtered_lists (gpointer catdata, gpointer user_data) /* Since the filter may remove this entry from the container it will not get a mouse out event */ - gtk_widget_set_state (GTK_WIDGET (launcher), GTK_STATE_NORMAL); + gtk_widget_set_state_flags (GTK_WIDGET (launcher), GTK_STATE_FLAG_NORMAL, FALSE); filename = g_object_get_data (G_OBJECT (launcher), TILE_EXEC_NAME); /* do I need to free this */ temp1 = g_ascii_strdown (launcher->name, -1); |