diff options
-rw-r--r-- | debian/control | 13 | ||||
-rw-r--r-- | debian/libmessaging-menu-dev.install | 1 | ||||
-rw-r--r-- | src/ido-detail-label.c | 11 |
3 files changed, 15 insertions, 10 deletions
diff --git a/debian/control b/debian/control index 546b5c9..b002d45 100644 --- a/debian/control +++ b/debian/control @@ -7,17 +7,18 @@ Uploaders: Evgeni Golov <evgeni@debian.org> Build-Depends: debhelper (>= 9), dh-autoreconf, dh-translations, - libgtk-3-dev (>= 3.5.12), - libdbus-glib-1-dev, + gobject-introspection (>= 0.9.12-4~), + gtk-doc-tools, intltool, - libindicator3-dev, + libdbus-glib-1-dev, libdbusmenu-glib-dev (>= 0.5.90), libdbusmenu-gtk3-dev (>= 0.5.90), - libtelepathy-glib-dev (>= 0.9.0), - gobject-introspection (>= 0.9.12-4~), libgirepository1.0-dev (>= 0.9.12), - gtk-doc-tools, libgtest-dev, + libgtk-3-dev (>= 3.5.12), + libindicator3-dev, + libtelepathy-glib-dev (>= 0.9.0), + valac, Standards-Version: 3.9.3 Homepage: https://launchpad.net/indicator-messages # If you aren't a member of ~indicator-applet-developers but need to upload diff --git a/debian/libmessaging-menu-dev.install b/debian/libmessaging-menu-dev.install index 75ef089..53e0312 100644 --- a/debian/libmessaging-menu-dev.install +++ b/debian/libmessaging-menu-dev.install @@ -2,4 +2,5 @@ usr/lib/libmessaging-menu.so usr/lib/pkgconfig usr/include /usr/ usr/share/gir-1.0/ +usr/share/vala/ usr/share/gtk-doc diff --git a/src/ido-detail-label.c b/src/ido-detail-label.c index 74af602..c97c06d 100644 --- a/src/ido-detail-label.c +++ b/src/ido-detail-label.c @@ -138,15 +138,18 @@ static PangoFontMetrics * gtk_widget_get_font_metrics (GtkWidget *widget, PangoContext *context) { - const PangoFontDescription *font; + PangoFontMetrics *font_metrics; + PangoFontDescription *font; GtkStyleContext *style; style = gtk_widget_get_style_context (GTK_WIDGET (widget)); gtk_style_context_get (style, GTK_STATE_FLAG_NORMAL, "font", &font, NULL); - return pango_context_get_metrics (context, - font, - pango_context_get_language (context)); + font_metrics = pango_context_get_metrics (context, + font, + pango_context_get_language (context)); + pango_font_description_free (font); + return font_metrics; } static gint |