Fix regression in GdkScreen.get_monitor_plug_name()

The documentation for get_monitor_plug_name() says that we're returning
the name of the connector for the monitor, but we switched it to using
the model name.
This commit is contained in:
Emmanuele Bassi 2019-06-20 14:55:59 +01:00
parent af778ec7d0
commit cdd6fb32c5

View File

@ -21,8 +21,10 @@
#include "config.h"
#include "gdkinternals.h"
#include "gdkscreenprivate.h"
#include "gdkinternals.h"
#include "gdkmonitorprivate.h"
#include "gdkrectangle.h"
#include "gdkwindow.h"
#include "gdkintl.h"
@ -821,7 +823,7 @@ gdk_screen_get_monitor_plug_name (GdkScreen *screen,
g_return_val_if_fail (monitor != NULL, NULL);
return g_strdup (gdk_monitor_get_model (monitor));
return g_strdup (gdk_monitor_get_connector (monitor));
}
/**