Merge lp:~arthurborsboom/xpad/xpad-4.2 into lp:xpad

Proposed by Arthur Borsboom
Status: Superseded
Proposed branch: lp:~arthurborsboom/xpad/xpad-4.2
Merge into: lp:xpad
Diff against target: 35 lines (+6/-6)
2 files modified
po/fr.po (+1/-1)
src/xpad-settings.c (+5/-5)
To merge this branch: bzr merge lp:~arthurborsboom/xpad/xpad-4.2
Reviewer Review Type Date Requested Status
Sachin Raut (community) Needs Fixing
sachin Pending
Xpad Administrators Pending
Review via email: mp+189512@code.launchpad.net

Commit message

Fixed bug #307669 - Theme colour doesn't hold.

Description of the change

Fixed bug "Theme colour doesn't hold."
https://bugs.launchpad.net/xpad/+bug/307669

To post a comment you must log in.
Revision history for this message
Sachin Raut (sachinr) wrote :

Please free settings->priv->back before assigning NULL to it, as done in if block. This would cause memory leak.

review: Needs Fixing
Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Good one! I will change this. I am a bit struggling with the version
managementto get it working easily from eclipse.

In the same time, I try to 'wake up' some of the Xpad developers, by
contacting them.

Whoohaaa! :)

On 7 October 2013 13:43, Sachin Raut <email address hidden> wrote:
> Review: Needs Fixing
>
> Please free settings->priv->back before assigning NULL to it, as done in if block. This would cause memory leak.
> --
> https://code.launchpad.net/~arthurborsboom/xpad/xpad/+merge/189512
> You are the owner of lp:~arthurborsboom/xpad/xpad.

--
Arthur Borsboom
Appartment 10-01 (level 10, app 1)
Avenida Arequipa 4130
Lima, Peru
Mob: +51 984 230 576
Email: <email address hidden>

lp:~arthurborsboom/xpad/xpad-4.2 updated
643. By Arthur Borsboom

Bug #307669: Theme colour doesn't hold, Bug #1216388: error in french traduction

644. By Arthur Borsboom

Changelog update to v4.2

645. By Arthur Borsboom

Added feature for providing different Xpad tray icon

646. By Arthur Borsboom

Updated POT and PO (language) files lp:890212

647. By Arthur Borsboom

Fix compilation error against glib-2.34.1 lp:974011, Update changelog lp:890327

648. By Launchpad Translations on behalf of xpad-team

Launchpad automatic translations update.

649. By Arthur Borsboom

performance fix: busy harddisk while typing or moving pad

650. By Arthur Borsboom

Updated Makefile for new source files

651. By Launchpad Translations on behalf of xpad-team

Launchpad automatic translations update.

652. By Launchpad Translations on behalf of xpad-team

Launchpad automatic translations update.

653. By Arthur Borsboom

lp:385007: sticky setting is reset on start up. lp:890212: Update translations.

654. By Launchpad Translations on behalf of xpad-team

Launchpad automatic translations update.

655. By Launchpad Translations on behalf of xpad-team

Launchpad automatic translations update.

656. By Launchpad Translations on behalf of xpad-team

Launchpad automatic translations update.

657. By Arthur Borsboom

Fixed crash after deleting pad(s).\nFixed memory leaks.\nUpdated help.\nUpdated changelog.

658. By Arthur Borsboom

Updated language files

659. By Arthur Borsboom

Reverted deleted mandatory NEWS file

660. By Arthur Borsboom

New ability to configure the tray-icon left-click behaviour

661. By Arthur Borsboom

Fixed issue autohide toolbar, fixed issue dispose and finalize not called when quiting application

Unmerged revisions

661. By Arthur Borsboom

Fixed issue autohide toolbar, fixed issue dispose and finalize not called when quiting application

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'po/fr.po'
2--- po/fr.po 2011-11-14 16:42:43 +0000
3+++ po/fr.po 2013-10-07 20:08:55 +0000
4@@ -229,7 +229,7 @@
5
6 #: ../src/xpad-pad-properties.c:161 ../src/xpad-preferences.c:150
7 msgid "Use this font:"
8-msgstr "Utiliser cette poilce de caractère :"
9+msgstr "Utiliser cette police de caractère :"
10
11 #: ../src/xpad-pad-properties.c:162
12 msgid "Use colors from xpad preferences"
13
14=== modified file 'src/xpad-settings.c'
15--- src/xpad-settings.c 2011-11-16 20:16:17 +0000
16+++ src/xpad-settings.c 2013-10-07 20:08:55 +0000
17@@ -748,13 +748,13 @@
18 gdk_color_free (settings->priv->text);
19 settings->priv->text = gdk_color_copy (&text);
20 }
21-
22+
23+ gdk_color_free (settings->priv->back);
24 if (use_back)
25- {
26- gdk_color_free (settings->priv->back);
27 settings->priv->back = gdk_color_copy (&back);
28- }
29-
30+ else
31+ settings->priv->back = NULL;
32+
33 if (settings->priv->fontname &&
34 strcmp (settings->priv->fontname, "NULL") == 0)
35 {

Subscribers

People subscribed via source and target branches