| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
| X-Recipient: | geda-user AT delorie DOT com |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
| d=gmail.com; s=20120113; | |
| h=from:to:cc:subject:date:message-id:in-reply-to:references; | |
| bh=ABYBZrK0K1r+KYgMjFSn8AFTo4uFZ2qrqRDKy6AgLZs=; | |
| b=1A87x9d7aprN2R+sZdXmA+bV3U6Khiee40jMnunownELdZ5GgOZylBc7oaqAvV9+iK | |
| B+i4oJhZFlHWR6cpIsSBQz9iorOs2REhYldgCFGkhZ6SZbRbJm8sCZBAl8Ij2GaIggfM | |
| pYb0AnxwsCO23+QFDtqi69GQ9cUoHwmafqeDLH8LNo+pxT7I5ECQ7+2dWS5dtu+pjMFg | |
| dj33nkUoJJudmEg0GHiGe6VL6RoW7Vg8bpmOH93/G5J8lXMo5zMZaj3aDLU8D50ZX8s8 | |
| V+rQiu79ommfYr1mCK4QRVZzjDft2kuFyeZ6Qx04ePzbihBlbzUdhvz9Ja8h3VcglWNP | |
| OaZQ== | |
| X-Received: | by 10.194.174.163 with SMTP id bt3mr750257wjc.4.1411038481281; |
| Thu, 18 Sep 2014 04:08:01 -0700 (PDT) | |
| From: | Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
| To: | geda-user AT delorie DOT com |
| Cc: | Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
| Subject: | [geda-user] [PATCH 23/43] Remove deprecated use of gtk_style_unref() |
| Date: | Thu, 18 Sep 2014 13:06:18 +0200 |
| Message-Id: | <1411038398-10231-24-git-send-email-riccardo.lucchese@gmail.com> |
| X-Mailer: | git-send-email 2.1.0 |
| In-Reply-To: | <1411038398-10231-1-git-send-email-riccardo.lucchese@gmail.com> |
| References: | <1411038398-10231-1-git-send-email-riccardo DOT lucchese AT gmail DOT com> |
| Reply-To: | geda-user AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | geda-user AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
Verbatim from Gtk+ 2 Reference Manual: "gtk_style_unref has been deprecated since version 2.0 and should not be used in newly-written code. use g_object_unref() instead." --- gattrib/src/gtksheet_2_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gattrib/src/gtksheet_2_2.c b/gattrib/src/gtksheet_2_2.c index 3ac9752..77f7935 100644 --- a/gattrib/src/gtksheet_2_2.c +++ b/gattrib/src/gtksheet_2_2.c @@ -6152,7 +6152,7 @@ gtk_sheet_size_allocate_entry(GtkSheet *sheet) gtk_widget_size_allocate(sheet->sheet_entry, &shentry_allocation); - if(previous_style == style) gtk_style_unref(previous_style); + if(previous_style == style) g_object_unref(G_OBJECT(previous_style)); } -- 2.1.0
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |