Skip to content

Commit

Permalink
Minor code reformatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
TurboGit committed Dec 10, 2024
1 parent 41f0ef1 commit d6e7994
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/develop/imageop.c
Original file line number Diff line number Diff line change
Expand Up @@ -2511,8 +2511,8 @@ static gboolean _iop_plugin_body_button_press(GtkWidget *w,
}

static gboolean _iop_plugin_header_button_release(GtkWidget *w,
GdkEventButton *e,
gpointer user_data)
GdkEventButton *e,
gpointer user_data)
{
if(e->type == GDK_2BUTTON_PRESS || e->type == GDK_3BUTTON_PRESS) return TRUE;

Expand Down
6 changes: 3 additions & 3 deletions src/libs/lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ static void dt_lib_presets_popup_menu_show(dt_lib_module_info_t *minfo,
static int _lib_position(const dt_lib_module_t *module)
{
int pos = module->position ? module->position(module) + 1 : 0;

gchar *key = _get_lib_view_path(module, NULL, "_position");
if(key && dt_conf_key_exists(key))
pos = dt_conf_get_int(key);
Expand Down Expand Up @@ -959,8 +959,8 @@ gboolean dt_lib_gui_get_expanded(dt_lib_module_t *module)
}

static gboolean _lib_plugin_header_button_release(GtkWidget *w,
GdkEventButton *e,
gpointer user_data)
GdkEventButton *e,
gpointer user_data)
{
if(e->type == GDK_2BUTTON_PRESS || e->type == GDK_3BUTTON_PRESS) return TRUE;

Expand Down

0 comments on commit d6e7994

Please sign in to comment.