[gnome-builder/wip/gtk4-port: 300/343] libide/gui: make it compile
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 300/343] libide/gui: make it compile
- Date: Mon, 4 Apr 2022 20:02:19 +0000 (UTC)
commit ad087d20d08f0e628efdf55f6396e58a01863cd6
Author: Christian Hergert <chergert redhat com>
Date: Fri Apr 1 20:48:51 2022 -0700
libide/gui: make it compile
src/libide/gui/ide-page.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/src/libide/gui/ide-page.c b/src/libide/gui/ide-page.c
index 41cb33f20..de3137149 100644
--- a/src/libide/gui/ide-page.c
+++ b/src/libide/gui/ide-page.c
@@ -145,12 +145,6 @@ ide_page_mark_used (IdePage *self)
static void
ide_page_finalize (GObject *object)
{
- IdePage *self = (IdePage *)object;
- IdePagePrivate *priv = ide_page_get_instance_private (self);
-
- g_clear_pointer (&priv->title, g_free);
- g_clear_object (&priv->icon);
-
G_OBJECT_CLASS (ide_page_parent_class)->finalize (object);
}
@@ -279,9 +273,9 @@ ide_page_init (IdePage *self)
g_autoptr(GSimpleActionGroup) group = g_simple_action_group_new ();
gtk_orientable_set_orientation (GTK_ORIENTABLE (self), GTK_ORIENTATION_VERTICAL);
+ panel_widget_set_icon_name (PANEL_WIDGET (self), "text-x-generic-symbolic");
priv->mru_link.data = self;
- priv->icon_name = g_intern_string ("text-x-generic-symbolic");
/* Add an action group out of convenience to plugins that want to
* stash a simple action somewhere.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]