Skip to content

Commit

Permalink
detail-view: Code formatting fixes and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
oscfdezdz committed Dec 28, 2023
1 parent 0d96a00 commit 34d186c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/exm-detail-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,8 @@ on_data_loaded (GObject *source,
GError *error = NULL;
ExmDetailView *self;
ExmInstallButtonState install_state;
GtkWidget *child;
GList *version_iter;
ExmShellVersionMap *version_map;
gchar *uri;

self = EXM_DETAIL_VIEW (user_data);

Expand Down Expand Up @@ -520,7 +518,8 @@ exm_detail_view_update (ExmDetailView *self)
}

void
exm_detail_view_adaptive (ExmDetailView *self, AdwBreakpoint *breakpoint)
exm_detail_view_adaptive (ExmDetailView *self,
AdwBreakpoint *breakpoint)
{
GValue value = G_VALUE_INIT;

Expand Down Expand Up @@ -654,16 +653,17 @@ exm_detail_view_class_init (ExmDetailViewClass *klass)

gtk_widget_class_install_action (widget_class, "detail.open-extensions", NULL, open_link);
gtk_widget_class_install_action (widget_class, "detail.open-homepage", NULL, open_link);
gtk_widget_class_install_action (widget_class, "detail.open-donation", "i", open_link);
}

static void
widget_show(GtkWidget *widget) {
gtk_widget_set_visible(widget, TRUE);
widget_show (GtkWidget *widget) {
gtk_widget_set_visible (widget, TRUE);
}

static void
widget_hide(GtkWidget *widget) {
gtk_widget_set_visible(widget, FALSE);
widget_hide (GtkWidget *widget) {
gtk_widget_set_visible (widget, FALSE);
}

static void
Expand Down

0 comments on commit 34d186c

Please sign in to comment.