[gtkparasite] inspect-button: Don't use deprecated API



commit 9145bf801f3f6a7d355a86689d6381be3f21a132
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Feb 25 14:12:15 2013 -0500

    inspect-button: Don't use deprecated API

 src/inspect-button.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/inspect-button.c b/src/inspect-button.c
index db50e4e..e41222f 100644
--- a/src/inspect-button.c
+++ b/src/inspect-button.c
@@ -64,7 +64,7 @@ on_highlight_window_show(GtkWidget *window,
 {
     if (gtk_widget_is_composited(parasite->window))
     {
-        gtk_window_set_opacity(GTK_WINDOW(parasite->highlight_window), 0.2);
+        gtk_widget_set_opacity(GTK_WINDOW(parasite->highlight_window), 0.2);
     }
     else
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]