[gtk/wip/baedert/window-icons2: 8/10] window: Remove default_icon_serial
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/window-icons2: 8/10] window: Remove default_icon_serial
- Date: Sun, 30 Dec 2018 06:24:58 +0000 (UTC)
commit ecb83e38be27ff8576d57ccf4d0e036d568f57eb
Author: Timm Bäder <mail baedert org>
Date: Sun Dec 30 06:54:57 2018 +0100
window: Remove default_icon_serial
Now unused.
gtk/gtkwindow.c | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index bfe05a9290..2136e7367a 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -523,7 +523,6 @@ static void gtk_surface_state_flags_changed (GtkWidget *widget,
static GListStore *toplevel_list = NULL;
static guint window_signals[LAST_SIGNAL] = { 0 };
static gchar *default_icon_name = NULL;
-static guint default_icon_serial = 0;
static gboolean disable_startup_notification = FALSE;
static GQuark quark_gtk_window_key_hash = 0;
@@ -4779,10 +4778,6 @@ gtk_window_set_default_icon_name (const gchar *name)
GList *tmp_list;
GList *toplevels;
- /* Update serial so we don't used cached pixmaps/masks
- */
- default_icon_serial++;
-
g_free (default_icon_name);
default_icon_name = g_strdup (name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]