mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
Misc. comment typos
Found via `codespell`
This commit is contained in:
parent
680642e37c
commit
732bcb463e
9 changed files with 12 additions and 10 deletions
|
@ -47,7 +47,7 @@ G_DEFINE_INTERFACE (GimpProgress, gimp_progress, G_TYPE_OBJECT)
|
||||||
static guint progress_signals[LAST_SIGNAL] = { 0 };
|
static guint progress_signals[LAST_SIGNAL] = { 0 };
|
||||||
|
|
||||||
|
|
||||||
/* private functionss */
|
/* private functions */
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -224,7 +224,7 @@ gui_init (Gimp *gimp,
|
||||||
/* Normally this should have been taken care of during command line
|
/* Normally this should have been taken care of during command line
|
||||||
* parsing as a post-parse hook of gtk_get_option_group(), using the
|
* parsing as a post-parse hook of gtk_get_option_group(), using the
|
||||||
* system locales.
|
* system locales.
|
||||||
* But user config may have overriden the language, therefore we must
|
* But user config may have overridden the language, therefore we must
|
||||||
* check the widget directions again.
|
* check the widget directions again.
|
||||||
*/
|
*/
|
||||||
gtk_widget_set_default_direction (gtk_get_locale_direction ());
|
gtk_widget_set_default_direction (gtk_get_locale_direction ());
|
||||||
|
|
|
@ -277,7 +277,7 @@ tool_options_manager_global_notify (GimpCoreConfig *config,
|
||||||
GimpToolInfo *tool_info = list->data;
|
GimpToolInfo *tool_info = list->data;
|
||||||
|
|
||||||
/* don't change the active tool, it is always fully connected
|
/* don't change the active tool, it is always fully connected
|
||||||
* to the user_context anway because we set its
|
* to the user_context anyway because we set its
|
||||||
* defined/undefined context props in tool_changed()
|
* defined/undefined context props in tool_changed()
|
||||||
*/
|
*/
|
||||||
if (tool_info == manager->active_tool)
|
if (tool_info == manager->active_tool)
|
||||||
|
|
|
@ -782,7 +782,7 @@ gimp_transform_grid_tool_real_widget_changed (GimpTransformGridTool *tg_tool)
|
||||||
GimpTransformTool *tr_tool = GIMP_TRANSFORM_TOOL (tg_tool);
|
GimpTransformTool *tr_tool = GIMP_TRANSFORM_TOOL (tg_tool);
|
||||||
GimpToolWidget *widget = tg_tool->widget;
|
GimpToolWidget *widget = tg_tool->widget;
|
||||||
|
|
||||||
/* supress the call to GimpTransformGridTool::update_widget() when
|
/* suppress the call to GimpTransformGridTool::update_widget() when
|
||||||
* recalculating the matrix
|
* recalculating the matrix
|
||||||
*/
|
*/
|
||||||
tg_tool->widget = NULL;
|
tg_tool->widget = NULL;
|
||||||
|
|
|
@ -309,7 +309,7 @@ gimp_devices_get_from_event (Gimp *gimp,
|
||||||
case GDK_DEVICE_TYPE_SLAVE:
|
case GDK_DEVICE_TYPE_SLAVE:
|
||||||
/* this is the tricky part: we do want to distingiugh slave
|
/* this is the tricky part: we do want to distingiugh slave
|
||||||
* devices, but only if we actually enabled them ourselves
|
* devices, but only if we actually enabled them ourselves
|
||||||
* explicitely (like the pens of a tablet); however we
|
* explicitly (like the pens of a tablet); however we
|
||||||
* usually don't enable the different incarnations of the
|
* usually don't enable the different incarnations of the
|
||||||
* mouse itself (like touchpad, trackpoint, usb mouse
|
* mouse itself (like touchpad, trackpoint, usb mouse
|
||||||
* etc.), so for these return their respective master so
|
* etc.), so for these return their respective master so
|
||||||
|
|
|
@ -812,7 +812,7 @@ typedef enum
|
||||||
* @GIMP_ORIENTATION_VERTICAL: Vertical
|
* @GIMP_ORIENTATION_VERTICAL: Vertical
|
||||||
* @GIMP_ORIENTATION_UNKNOWN: Unknown
|
* @GIMP_ORIENTATION_UNKNOWN: Unknown
|
||||||
*
|
*
|
||||||
* Orientations for verious purposes.
|
* Orientations for various purposes.
|
||||||
**/
|
**/
|
||||||
#define GIMP_TYPE_ORIENTATION_TYPE (gimp_orientation_type_get_type ())
|
#define GIMP_TYPE_ORIENTATION_TYPE (gimp_orientation_type_get_type ())
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ void gimp_pixpipe_params_parse (const gchar *parameters,
|
||||||
/* Build a string representation of GimpPixPipeParams */
|
/* Build a string representation of GimpPixPipeParams */
|
||||||
gchar * gimp_pixpipe_params_build (GimpPixPipeParams *params) G_GNUC_MALLOC;
|
gchar * gimp_pixpipe_params_build (GimpPixPipeParams *params) G_GNUC_MALLOC;
|
||||||
|
|
||||||
/* Free the internal values. It does not free the struct itsef. */
|
/* Free the internal values. It does not free the struct itself. */
|
||||||
void gimp_pixpipe_params_free (GimpPixPipeParams *params);
|
void gimp_pixpipe_params_free (GimpPixPipeParams *params);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -59,7 +59,7 @@ struct _GimpMemsizeEntryPrivate
|
||||||
|
|
||||||
guint shift;
|
guint shift;
|
||||||
|
|
||||||
/* adjustement is owned by spinbutton. Do not unref() it. */
|
/* adjustment is owned by spinbutton. Do not unref() it. */
|
||||||
GtkAdjustment *adjustment;
|
GtkAdjustment *adjustment;
|
||||||
GtkWidget *spinbutton;
|
GtkWidget *spinbutton;
|
||||||
GtkWidget *menu;
|
GtkWidget *menu;
|
||||||
|
|
|
@ -518,13 +518,15 @@ GetAccurateWindowRect (HWND hwndTarget,
|
||||||
/* In this case, we did not got the rect from the dwm api so we try to get the rect with the normal function */
|
/* In this case, we did not got the rect from the dwm api so we try to get the rect with the normal function */
|
||||||
if (GetWindowRect (hwndTarget, outRect))
|
if (GetWindowRect (hwndTarget, outRect))
|
||||||
{
|
{
|
||||||
/* If the window is maximized then we need and can fix the rect variable (we need to do this if the rect not comming from dwm api) */
|
/* If the window is maximized then we need and can fix the rect variable
|
||||||
|
* (we need to do this if the rect isn't coming from dwm api)
|
||||||
|
*/
|
||||||
ZeroMemory (&windowplacment, sizeof (WINDOWPLACEMENT));
|
ZeroMemory (&windowplacment, sizeof (WINDOWPLACEMENT));
|
||||||
if (GetWindowPlacement (hwndTarget, &windowplacment) && windowplacment.showCmd == SW_SHOWMAXIMIZED)
|
if (GetWindowPlacement (hwndTarget, &windowplacment) && windowplacment.showCmd == SW_SHOWMAXIMIZED)
|
||||||
{
|
{
|
||||||
RECT *rectScreens = NULL;
|
RECT *rectScreens = NULL;
|
||||||
|
|
||||||
/* if this is not the first time we call this function for some
|
/* If this is not the first time we call this function for some
|
||||||
* reason then we reset the rectScreens count
|
* reason then we reset the rectScreens count
|
||||||
*/
|
*/
|
||||||
if (rectScreensCount)
|
if (rectScreensCount)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue