summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stickynotes/stickynotes.c2
-rw-r--r--stickynotes/stickynotes_callbacks.c9
-rw-r--r--stickynotes/stickynotes_callbacks.h1
3 files changed, 0 insertions, 12 deletions
diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c
index 9abfb066..5511fd30 100644
--- a/stickynotes/stickynotes.c
+++ b/stickynotes/stickynotes.c
@@ -257,8 +257,6 @@ stickynote_new_aux (GdkScreen *screen, gint x, gint y, gint w, gint h)
g_signal_connect (G_OBJECT (note->w_window), "button-press-event",
G_CALLBACK (stickynote_move_cb), note);
- g_signal_connect (G_OBJECT (note->w_window), "expose-event",
- G_CALLBACK (stickynote_expose_cb), note);
g_signal_connect (G_OBJECT (note->w_window), "configure-event",
G_CALLBACK (stickynote_configure_cb), note);
g_signal_connect (G_OBJECT (note->w_window), "delete-event",
diff --git a/stickynotes/stickynotes_callbacks.c b/stickynotes/stickynotes_callbacks.c
index b435a14c..d25139a3 100644
--- a/stickynotes/stickynotes_callbacks.c
+++ b/stickynotes/stickynotes_callbacks.c
@@ -68,15 +68,6 @@ gboolean stickynote_move_cb(GtkWidget *widget, GdkEventButton *event, StickyNote
return TRUE;
}
-/* Sticky Window Callback : Skip taskbar and pager when exposing the window */
-gboolean stickynote_expose_cb(GtkWidget *widget, GdkEventExpose *event, StickyNote *note)
-{
- gtk_window_set_skip_taskbar_hint(GTK_WINDOW(note->w_window), TRUE);
- gtk_window_set_skip_pager_hint(GTK_WINDOW(note->w_window), TRUE);
-
- return FALSE;
-}
-
/* Sticky Window Callback : Store settings when resizing/moving the window */
gboolean stickynote_configure_cb(GtkWidget *widget, GdkEventConfigure *event, StickyNote *note)
{
diff --git a/stickynotes/stickynotes_callbacks.h b/stickynotes/stickynotes_callbacks.h
index 02162ce1..5918be99 100644
--- a/stickynotes/stickynotes_callbacks.h
+++ b/stickynotes/stickynotes_callbacks.h
@@ -27,7 +27,6 @@ gboolean stickynote_toggle_lock_cb(GtkWidget *widget, StickyNote *note);
gboolean stickynote_close_cb(GtkWidget *widget, StickyNote *note);
gboolean stickynote_resize_cb(GtkWidget *widget, GdkEventButton *event, StickyNote *note);
gboolean stickynote_move_cb(GtkWidget *widget, GdkEventButton *event, StickyNote *note);
-gboolean stickynote_expose_cb(GtkWidget *widget, GdkEventExpose *event, StickyNote *note);
gboolean stickynote_configure_cb(GtkWidget *widget, GdkEventConfigure *event, StickyNote *note);
gboolean stickynote_delete_cb(GtkWidget *widget, GdkEvent *event, StickyNote *note);
gboolean stickynote_show_popup_menu(GtkWidget *widget, GdkEventButton *event, GtkWidget *popup_menu);