summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2000-06-21 03:57:02 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-06-21 03:57:02 +0000
commit197a2a68c145d3568cd4f0f2fee3d3b55570134f (patch)
tree6089cb6806eae9126d39a71f2966a56342f8db49 /examples
parente2dc9e117648e267953d7318bd3e0093cd5ab234 (diff)
downloadpango-197a2a68c145d3568cd4f0f2fee3d3b55570134f.tar.gz
GTK+ should compile now... sorry about the mess...
2000-06-14 Havoc Pennington <hp@redhat.com> * pango/pango-attributes.c (pango_attr_list_copy): Function to copy the attribute list. 2000-06-13 Havoc Pennington <hp@redhat.com> * pango/pango-layout.h: Convert PangoLayout to GObject * pango/pango-context.h: Convert to PangoContext to GObject
Diffstat (limited to 'examples')
-rw-r--r--examples/viewer-qt.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/viewer-qt.cc b/examples/viewer-qt.cc
index b991a983..ff078e21 100644
--- a/examples/viewer-qt.cc
+++ b/examples/viewer-qt.cc
@@ -52,7 +52,7 @@ ViewerPara::ViewerPara (PangoContext *context, const QString &text)
ViewerPara::~ViewerPara ()
{
- pango_layout_unref (layout_);
+ g_object_unref (G_OBJECT (layout_));
}
void
@@ -159,7 +159,7 @@ ViewerView::ViewerView (QWidget *parent, QStatusBar *status) : QScrollView (pare
ViewerView::~ViewerView ()
{
- pango_context_unref (context_);
+ g_object_unref (G_OBJECT (context_));
}
void