Commit 22129e44 authored by Danilo Galete's avatar Danilo Galete 💬
Browse files

Change: add cast, GtkButton to GtkWidget

parent 3a118691
......@@ -78,7 +78,7 @@ on_left_panel_search_changed (GtkSearchEntry *entry,
static void
on_list_box_row_activated (GtkListBox *box,
GtkListBoxRow *row,
gpointer user_data)
gpointer user_data)
{
FinanceLeftPanel *self = FINANCE_LEFT_PANEL (user_data);
}
......@@ -89,7 +89,7 @@ on_button_ascending_clicked (GtkButton *button,
{
FinanceLeftPanel *self = FINANCE_LEFT_PANEL (user_data);
gtk_widget_set_visible (button, FALSE);
gtk_widget_set_visible (GTK_WIDGET (button), FALSE);
gtk_widget_set_visible (self->button_descending, TRUE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment