]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtktipsquery.c
do not avoid to queue for a resize if the container is not visible, we
[~andy/gtk] / gtk / gtktipsquery.c
index 5c2a97239b99da0a4cab651e78949c57f10371de..6a19278166acd30f2b028c258918e1e4c0b0d233 100644 (file)
@@ -15,8 +15,9 @@
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
  */
 #include       "gtktipsquery.h"
 #include       "gtksignal.h"
@@ -183,15 +184,15 @@ gtk_tips_query_class_init (GtkTipsQueryClass *class)
                    GTK_TYPE_STRING);
   tips_query_signals[SIGNAL_WIDGET_SELECTED] =
     gtk_signal_new ("widget_selected",
-                   GTK_RUN_FIRST,
+                   GTK_RUN_LAST,
                    object_class->type,
                    GTK_SIGNAL_OFFSET (GtkTipsQueryClass, widget_selected),
                    gtk_tips_query_marshal_widget_selected,
-                   GTK_TYPE_INT, 4,
+                   GTK_TYPE_BOOL, 4,
                    GTK_TYPE_WIDGET,
                    GTK_TYPE_STRING,
                    GTK_TYPE_STRING,
-                   GTK_TYPE_BOXED);
+                   GTK_TYPE_GDK_EVENT);
   gtk_object_class_add_signals (object_class, tips_query_signals, SIGNAL_LAST);
 
   object_class->destroy = gtk_tips_query_destroy;
@@ -237,7 +238,6 @@ gtk_tips_query_set_arg (GtkTipsQuery           *tips_query,
       gtk_tips_query_set_labels (tips_query, tips_query->label_inactive, GTK_VALUE_STRING (*arg));
       break;
     default:
-      arg->type = GTK_TYPE_INVALID;
       break;
     }
 }