gimp r25656 - in trunk: . app/widgets
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25656 - in trunk: . app/widgets
- Date: Tue, 13 May 2008 22:29:08 +0100 (BST)
Author: mitch
Date: Tue May 13 21:29:00 2008
New Revision: 25656
URL: http://svn.gnome.org/viewvc/gimp?rev=25656&view=rev
Log:
2008-05-13 Michael Natterer <mitch gimp org>
* app/widgets/gimpsessioninfo.c: turn "info != NULL" checks into
"GIMP_IS_SESSION_INFO (info)".
Modified:
trunk/ChangeLog
trunk/app/widgets/gimpsessioninfo.c
Modified: trunk/app/widgets/gimpsessioninfo.c
==============================================================================
--- trunk/app/widgets/gimpsessioninfo.c (original)
+++ trunk/app/widgets/gimpsessioninfo.c Tue May 13 21:29:00 2008
@@ -127,7 +127,7 @@
{
const gchar *dialog_name;
- g_return_if_fail (info != NULL);
+ g_return_if_fail (GIMP_IS_SESSION_INFO (info));
g_return_if_fail (factory_name != NULL);
g_return_if_fail (writer != NULL);
@@ -374,7 +374,7 @@
GdkDisplay *display;
GdkScreen *screen = NULL;
- g_return_if_fail (info != NULL);
+ g_return_if_fail (GIMP_IS_SESSION_INFO (info));
g_return_if_fail (GIMP_IS_DIALOG_FACTORY (factory));
display = gdk_display_get_default ();
@@ -465,7 +465,7 @@
gint monitor;
gboolean use_size;
- g_return_if_fail (info != NULL);
+ g_return_if_fail (GIMP_IS_SESSION_INFO (info));
g_return_if_fail (GTK_IS_WINDOW (info->widget));
screen = gtk_widget_get_screen (info->widget);
@@ -524,7 +524,7 @@
void
gimp_session_info_get_geometry (GimpSessionInfo *info)
{
- g_return_if_fail (info != NULL);
+ g_return_if_fail (GIMP_IS_SESSION_INFO (info));
g_return_if_fail (GTK_IS_WINDOW (info->widget));
if (info->widget->window)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]