summaryrefslogtreecommitdiff
path: root/libslab/app-shell.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-06-08 14:23:52 +0200
committerraveit65 <[email protected]>2018-06-21 08:19:10 +0200
commitd21cbadc64065b72eb6494247bbc6d876d57eb14 (patch)
tree5812414001d2fec81755607b04ea6deace6d243b /libslab/app-shell.c
parentf6d429e01de132233c5288616e57772e687358bf (diff)
downloadmate-control-center-d21cbadc64065b72eb6494247bbc6d876d57eb14.tar.bz2
mate-control-center-d21cbadc64065b72eb6494247bbc6d876d57eb14.tar.xz
libslab: code clean up
Since we use GtkSearchEntry a lot of code can be dropped. https://github.com/mate-desktop/mate-control-center/commit/afcb324 Eg: GtkSearchEntry has a own menu in result search-context-picker.c does nothing. So other code in searchbar.c isn't used.
Diffstat (limited to 'libslab/app-shell.c')
-rw-r--r--libslab/app-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libslab/app-shell.c b/libslab/app-shell.c
index ba13fa4f..05d5617e 100644
--- a/libslab/app-shell.c
+++ b/libslab/app-shell.c
@@ -74,7 +74,7 @@ static void launch_selected_app (AppShellData * app_data);
static void generate_potential_apps (gpointer catdata, gpointer user_data);
static void relayout_shell (AppShellData * app_data);
-static gboolean handle_filter_changed (NldSearchBar * search_bar, int context, const char *text,
+static gboolean handle_filter_changed (NldSearchBar * search_bar, const char *text,
gpointer user_data);
static void handle_group_clicked (Tile * tile, TileEvent * event, gpointer user_data);
static void set_state (AppShellData * app_data, GtkWidget * widget);
@@ -581,7 +581,7 @@ handle_filter_changed_delayed (gpointer user_data)
}
static gboolean
-handle_filter_changed (NldSearchBar * search_bar, int context, const char *text, gpointer data)
+handle_filter_changed (NldSearchBar * search_bar, const char *text, gpointer data)
{
AppShellData *app_data;