Commit 3568f1cb authored by Michael Natterer's avatar Michael Natterer 😴

app: reorder a line in gimp_display_shell_constructed()

just for consistency, no logic is changed.
parent 7f563931
......@@ -585,6 +585,8 @@ gimp_display_shell_constructed (GObject *object)
G_CALLBACK (gimp_display_shell_vruler_button_press),
shell);
gimp_help_set_help_data (shell->vrule, NULL, GIMP_HELP_IMAGE_WINDOW_RULER);
/* set the rulers as track widgets for each other, so we don't end up
* with one ruler wrongly being stuck a few pixels off while we are
* hovering the other
......@@ -592,8 +594,6 @@ gimp_display_shell_constructed (GObject *object)
gimp_ruler_add_track_widget (GIMP_RULER (shell->hrule), shell->vrule);
gimp_ruler_add_track_widget (GIMP_RULER (shell->vrule), shell->hrule);
gimp_help_set_help_data (shell->vrule, NULL, GIMP_HELP_IMAGE_WINDOW_RULER);
gimp_devices_add_widget (shell->display->gimp, shell->hrule);
gimp_devices_add_widget (shell->display->gimp, shell->vrule);
......
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