Merge lp:~charlesk/indicator-sync/lp-1059483 into lp:indicator-sync/12.10

Proposed by Charles Kerr
Status: Merged
Approved by: Lars Karlitski
Approved revision: 22
Merged at revision: 25
Proposed branch: lp:~charlesk/indicator-sync/lp-1059483
Merge into: lp:indicator-sync/12.10
Diff against target: 18 lines (+6/-2)
1 file modified
src/indicator/indicator-sync.c (+6/-2)
To merge this branch: bzr merge lp:~charlesk/indicator-sync/lp-1059483
Reviewer Review Type Date Requested Status
Lars Karlitski (community) Approve
jenkins (community) continuous-integration Approve
Review via email: mp+127609@code.launchpad.net
To post a comment you must log in.
Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Approve (continuous-integration)
Revision history for this message
Lars Karlitski (larsu) wrote :

Ha, I was going to complain about that ;)

Looks good, thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/indicator/indicator-sync.c'
2--- src/indicator/indicator-sync.c 2012-09-24 19:43:12 +0000
3+++ src/indicator/indicator-sync.c 2012-10-02 23:00:27 +0000
4@@ -436,8 +436,12 @@
5 GObject * o = G_OBJECT(gmi);
6 if (g_object_get_qdata (o, tweak_quark) == NULL)
7 {
8- g_object_set_qdata (o, tweak_quark, GINT_TO_POINTER(TRUE));
9- gtk_widget_set_margin_left (GTK_WIDGET(o), aligned_left_margin);
10+ GtkWidget * child;
11+ if ((child = gtk_bin_get_child (GTK_BIN(gmi))))
12+ {
13+ gtk_widget_set_margin_left (child, aligned_left_margin);
14+ g_object_set_qdata (o, tweak_quark, GINT_TO_POINTER(TRUE));
15+ }
16 }
17 }
18 }

Subscribers

People subscribed via source and target branches

to all changes: