summaryrefslogtreecommitdiff
path: root/gtk/gtktipsquery.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktipsquery.c')
-rw-r--r--gtk/gtktipsquery.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gtk/gtktipsquery.c b/gtk/gtktipsquery.c
index ea1b2a7e56..21622867a5 100644
--- a/gtk/gtktipsquery.c
+++ b/gtk/gtktipsquery.c
@@ -248,7 +248,6 @@ gtk_tips_query_destroy (GtkObject *object)
{
GtkTipsQuery *tips_query;
- g_return_if_fail (object != NULL);
g_return_if_fail (GTK_IS_TIPS_QUERY (object));
tips_query = GTK_TIPS_QUERY (object);
@@ -284,7 +283,6 @@ gtk_tips_query_set_labels (GtkTipsQuery *tips_query,
{
gchar *old;
- g_return_if_fail (tips_query != NULL);
g_return_if_fail (GTK_IS_TIPS_QUERY (tips_query));
g_return_if_fail (label_inactive != NULL);
g_return_if_fail (label_no_tip != NULL);
@@ -301,7 +299,6 @@ void
gtk_tips_query_set_caller (GtkTipsQuery *tips_query,
GtkWidget *caller)
{
- g_return_if_fail (tips_query != NULL);
g_return_if_fail (GTK_IS_TIPS_QUERY (tips_query));
g_return_if_fail (tips_query->in_query == FALSE);
if (caller)
@@ -319,7 +316,6 @@ gtk_tips_query_set_caller (GtkTipsQuery *tips_query,
void
gtk_tips_query_start_query (GtkTipsQuery *tips_query)
{
- g_return_if_fail (tips_query != NULL);
g_return_if_fail (GTK_IS_TIPS_QUERY (tips_query));
g_return_if_fail (tips_query->in_query == FALSE);
g_return_if_fail (GTK_WIDGET_REALIZED (tips_query));
@@ -331,7 +327,6 @@ gtk_tips_query_start_query (GtkTipsQuery *tips_query)
void
gtk_tips_query_stop_query (GtkTipsQuery *tips_query)
{
- g_return_if_fail (tips_query != NULL);
g_return_if_fail (GTK_IS_TIPS_QUERY (tips_query));
g_return_if_fail (tips_query->in_query == TRUE);
@@ -344,7 +339,6 @@ gtk_tips_query_real_start_query (GtkTipsQuery *tips_query)
{
gint failure;
- g_return_if_fail (tips_query != NULL);
g_return_if_fail (GTK_IS_TIPS_QUERY (tips_query));
tips_query->query_cursor = gdk_cursor_new (GDK_QUESTION_ARROW);
@@ -366,7 +360,6 @@ gtk_tips_query_real_start_query (GtkTipsQuery *tips_query)
static void
gtk_tips_query_real_stop_query (GtkTipsQuery *tips_query)
{
- g_return_if_fail (tips_query != NULL);
g_return_if_fail (GTK_IS_TIPS_QUERY (tips_query));
gtk_grab_remove (GTK_WIDGET (tips_query));
@@ -391,7 +384,6 @@ gtk_tips_query_widget_entered (GtkTipsQuery *tips_query,
const gchar *tip_text,
const gchar *tip_private)
{
- g_return_if_fail (tips_query != NULL);
g_return_if_fail (GTK_IS_TIPS_QUERY (tips_query));
if (!tip_text)
@@ -448,7 +440,6 @@ gtk_tips_query_event (GtkWidget *widget,
GtkWidget *event_widget;
gboolean event_handled;
- g_return_val_if_fail (widget != NULL, FALSE);
g_return_val_if_fail (GTK_IS_TIPS_QUERY (widget), FALSE);
tips_query = GTK_TIPS_QUERY (widget);